{** * templates/sectionEditor/submissionNotes.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Show submission notes page. * * *} {strip} {assign var="pageTitle" value="submission.notes"} {assign var="pageCrumbTitle" value="submission.notes.breadcrumb"} {include file="common/header.tpl"} {/strip} {literal} {/literal} {include file="sectionEditor/submission/summary.tpl"}
{if $noteViewType == "edit"}

{translate key="submission.notes"}

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

getArticleId() noteId=$articleNote->getId() fileId=$articleNote->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()|escape} {if $note->getFileId()}getId()|to_array:$note->getFileId()}">{$note->getOriginalFileName()|escape}{else}—{/if} getId()|to_array:"edit":$note->getId()}" class="action">{translate key="common.view"} | getId() noteId=$note->getId() 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"}
| getId()|to_array:"add"}">{translate key="submission.notes.addNewNote"} | getId()}" onclick="return confirm('{translate|escape:"jsparam" key="submission.notes.confirmDeleteAll"}')">{translate key="submission.notes.clearAllNotes"} {/if}
{include file="common/footer.tpl"}