{** * templates/sectionEditor/submissionHistory.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 history page. * * *} {strip} {translate|assign:"pageTitleTranslated" key="submission.page.history" id=$submission->getId()} {assign var="pageCrumbTitle" value="submission.history"} {include file="common/header.tpl"} {/strip} {literal} {/literal} {include file="sectionEditor/submission/summary.tpl"}

{translate key="submission.history.submissionEventLog"} - {translate key="submission.history.recentLogEntries"}

{iterate from=eventLogEntries item=logEntry} {/iterate} {if $eventLogEntries->wasEmpty()} {/if}
 
{translate key="common.date"} {translate key="common.user"} {translate key="common.event"} {translate key="common.action"}
 
{$logEntry->getDateLogged()|date_format:$dateFormatShort} {assign var=emailString value=$logEntry->getUserFullName()|concat:" <":$logEntry->getUserEmail():">"} {url|assign:"url" page="user" op="email" to=$emailString|to_array redirectUrl=$currentUrl subject=$logEntry->getEventTitle()|translate articleId=$submission->getId()} {$logEntry->getUserFullName()|escape} {icon name="mail" url=$url} {translate key=$logEntry->getEventTitle()}
{$logEntry->getTranslatedMessage()|strip_tags|truncate:60:"..."}
getId()|to_array:$logEntry->getId()}" class="action">{translate key="common.view"}{if $isEditor} | getId()|to_array:$logEntry->getId()}" class="action" onclick="return confirm('{translate|escape:"jsparam" key="submission.event.confirmDeleteLogEntry"}')">{translate key="common.delete"}{/if}
 
{translate key="submission.history.noLogEntries"}
 
getId()}" class="action">{translate key="submission.history.viewLog"}{if $isEditor} | getId()}" class="action" onclick="return confirm('{translate|escape:"jsparam" key="submission.event.confirmClearLog"}')">{translate key="submission.history.clearLog"}{/if}


{translate key="submission.history.submissionEmailLog"} - {translate key="submission.history.recentLogEntries"}

{iterate from=emailLogEntries item=logEntry} {/iterate} {if $emailLogEntries->wasEmpty()} {/if}
 
{translate key="common.date"} {translate key="email.sender"} {translate key="email.recipients"} {translate key="common.subject"} {translate key="common.action"}
 
{$logEntry->getDateSent()|date_format:$dateFormatShort} {$logEntry->getFrom()|truncate:40:"..."|escape} {$logEntry->getRecipients()|truncate:40:"..."|escape} {$logEntry->getSubject()|truncate:60:"..."|escape} getId()|to_array:$logEntry->getId()}" class="action">{translate key="common.view"}{if $isEditor} | getId()|to_array:$logEntry->getId()}" onclick="return confirm('{translate|escape:"jsparam" key="submission.email.confirmDeleteLogEntry"}')" class="action">{translate key="common.delete"}{/if}
 
{translate key="submission.history.noLogEntries"}
 
getId()}">{translate key="submission.history.viewLog"}{if $isEditor} | getId()}" onclick="return confirm('{translate|escape:"jsparam" key="submission.email.confirmClearLog"}')">{translate key="submission.history.clearLog"}{/if}


{translate key="submission.notes"}

{iterate from=submissionNotes item=note} {/iterate} {if $submissionNotes->wasEmpty()} {/if}
 
{translate key="common.date"} {translate key="common.title"} {translate key="submission.notes.attachedFile"} {translate key="common.action"}
 
{$note->getDateCreated()|date_format:$dateFormatShort} {$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"}
 
getId()}">{translate key="submission.notes.viewNotes"} |
{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"}
{include file="common/footer.tpl"}