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

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

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