{** * submissionNotes.tpl * * Copyright (c) 2000-2008 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Show submission notes page. * * * $Id: submissionNotes.tpl,v 1.10 2008/04/04 17:06:56 asmecher Exp $ *} {assign var="pageTitle" value="submission.notes"} {assign var="pageCrumbTitle" value="submission.notes.breadcrumb"} {include file="common/header.tpl"} {literal} {/literal} {include file="trackDirector/submission/summary.tpl"}
{if $noteViewType == "edit"}

{translate key="submission.notes"}

{translate key="common.dateModified"} {$paperNote->getDateModified()|date_format:$datetimeFormatShort}
{translate key="common.title"}
{translate key="common.note"}
{translate key="common.file"}
{translate key="common.uploadedFile"} {if $paperNote->getFileId()}getFileId()}">{$paperNote->getOriginalFileName()}
 {translate key="submission.notes.removeUploadedFile"}{else}—{/if}

getPaperId() noteId=$paperNote->getNoteId() fileId=$paperNote->getFileId()}', '{translate|escape:"jsparam" key="submission.notes.confirmDelete"}')"> 
{elseif $noteViewType == "add"}

{translate key="submission.notes.addNewNote"}

{translate key="common.title"}
{translate key="common.note"}
{translate key="common.file"}

{else}

{translate key="submission.notes"}

{iterate from=submissionNotes item=note} {/iterate} {if $submissionNotes->wasEmpty()} {else} {/if}
 
{translate key="common.date"} {translate key="common.title"} {translate key="submission.notes.attachedFile"} {translate key="common.action"}
 
{$note->getDateCreated()|date_format:$dateFormatTrunc} {$note->getTitle()} {if $note->getFileId()}getPaperId()|to_array:$note->getFileId()}">{$note->getOriginalFileName()}{else}—{/if} getPaperId()|to_array:"edit":$note->getNoteId()}" class="action">{translate key="common.view"} | getPaperId() noteId=$note->getNoteId() fileId=$note->getFileId()}" onclick="return confirm('{translate|escape:"jsparam" key="submission.notes.confirmDelete"}')" class="action">{translate key="common.delete"}
 
{translate key="submission.notes.noSubmissionNotes"}
 
{page_info iterator=$submissionNotes} {page_links anchor="submissionNotes" name="submissionNotes" iterator=$submissionNotes}
{translate key="submission.notes.expandNotes"} / {translate key="submission.notes.collapseNotes"} | getPaperId()|to_array:"add"}">{translate key="submission.notes.addNewNote"} | getPaperId()}" onclick="return confirm('{translate|escape:"jsparam" key="submission.notes.confirmDeleteAll"}')">{translate key="submission.notes.clearAllNotes"} {/if} {include file="common/footer.tpl"}