{** * submissionEmailLog.tpl * * Copyright (c) 2000-2008 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Show submission email log page. * * * $Id: submissionEmailLog.tpl,v 1.11 2008/04/04 17:06:56 asmecher Exp $ *} {assign var="pageTitle" value="submission.emailLog"} {include file="common/header.tpl"} {include file="trackDirector/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="common.type"} {translate key="email.sender"} {translate key="email.recipients"} {translate key="common.subject"} {translate key="common.action"}
 
{$logEntry->getDateSent()|date_format:$dateFormatShort} {$logEntry->getAssocTypeString()|escape} {$logEntry->getFrom()|truncate:40:"..."|escape} {$logEntry->getRecipients()|truncate:40:"..."|escape} {$logEntry->getSubject()|truncate:60:"..."|escape} {if $logEntry->getAssocType()}getPaperId()|to_array:$logEntry->getAssocType():$logEntry->getAssocId()}" class="action">{translate key="common.related"} | {/if}getPaperId()|to_array:$logEntry->getLogId()}" class="action">{translate key="common.view"}{if $isDirector} | getPaperId()|to_array:$logEntry->getLogId()}" 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 $isDirector} getPaperId()}" onclick="return confirm('{translate|escape:"jsparam" key="submission.email.confirmClearLog"}')">{translate key="submission.history.clearLog"} {/if} {include file="common/footer.tpl"}