{** * templates/sectionEditor/submissionEmailLogEntry.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 a single email log entry. * * *} {strip} {assign var="pageTitle" value="submission.emailLog"} {include file="common/header.tpl"} {/strip}
{include file="sectionEditor/submission/summary.tpl"}{translate key="common.id"} | {$logEntry->getId()} |
{translate key="common.date"} | {$logEntry->getDateSent()|date_format:$datetimeFormatLong} |
{translate key="email.sender"} | {if $logEntry->getSenderFullName()} {assign var=emailString value=$logEntry->getSenderFullName()|concat:" <":$logEntry->getSenderEmail():">"} {url|assign:"url" page="user" op="email" to=$emailString|to_array redirectUrl=$currentUrl subject=$logEntry->getSubject() articleId=$submission->getId()} {$logEntry->getSenderFullName()|escape} {icon name="mail" url=$url} {else} {translate key="common.notApplicable"} {/if} |
{translate key="email.from"} | {$logEntry->getFrom()|escape} |
{translate key="email.to"} | {$logEntry->getRecipients()|escape} |
{translate key="email.cc"} | {$logEntry->getCcs()|escape} |
{translate key="email.bcc"} | {$logEntry->getBccs()|escape} |
{translate key="email.attachments"} | {foreach from=$attachments item=attachment} getArticleId()|to_array:$attachment->getFileId()}" class="action">{$attachment->getOriginalFilename()|escape} {/foreach} |
{translate key="email.subject"} | {$logEntry->getSubject()|escape} |
{translate key="email.body"} | {$logEntry->getBody()|escape|nl2br} |