{** * templates/sectionEditor/submissionEmailLog.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 email log page. * * *} {strip} {assign var="pageTitle" value="submission.emailLog"} {include file="common/header.tpl"} {/strip} {include file="sectionEditor/submission/summary.tpl"}

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

{iterate from=emailLogEntries item=logEntry} {/iterate} {if $emailLogEntries->wasEmpty()} {else} {/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"}
 
{page_info iterator=$emailLogEntries} {page_links anchor="emailLogEntries" name="emailLogEntries" iterator=$emailLogEntries}
{if $isEditor} getId()}" onclick="return confirm('{translate|escape:"jsparam" key="submission.email.confirmClearLog"}')">{translate key="submission.history.clearLog"} {/if}
{include file="common/footer.tpl"}