{** * templates/sectionEditor/submission/management.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. * * Subtemplate defining the submission management table. * *}
{translate key="article.authors"} | {url|assign:"url" page="user" op="email" redirectUrl=$currentUrl to=$submission->getAuthorEmails() subject=$submission->getLocalizedTitle() articleId=$submission->getId()} {$submission->getAuthorString()|escape} {icon name="mail" url=$url} | |
{translate key="article.title"} | {$submission->getLocalizedTitle()|strip_unsafe_html} | |
{translate key="submission.originalFile"} | {if $submissionFile} getId()|to_array:$submissionFile->getFileId()}" class="file">{$submissionFile->getFileName()|escape} {$submissionFile->getDateModified()|date_format:$dateFormatShort} {else} {translate key="common.none"} {/if} | |
{translate key="article.suppFilesAbbrev"} |
{foreach name="suppFiles" from=$suppFiles item=suppFile}
{if $suppFile->getFileId()}
getId()|to_array:$suppFile->getFileId()}" class="file">{$suppFile->getFileName()|escape}
{elseif $suppFile->getRemoteURL() != ''}
{$suppFile->getRemoteURL()|truncate:20:"..."|escape}
{/if}
{if $suppFile->getDateModified()}
{$suppFile->getDateModified()|date_format:$dateFormatShort}
{else}
{$suppFile->getDateSubmitted()|date_format:$dateFormatShort}
{/if}
getId()|to_array:$suppFile->getId()}" class="action">{translate key="common.edit"}
|
getId()|to_array:$suppFile->getId()}" onclick="return confirm('{translate|escape:"jsparam" key="author.submit.confirmDeleteSuppFile"}')" class="action">{translate key="common.delete"}
{if !$notFirst}
getId()}" class="action">{translate key="submission.addSuppFile"}
{/if}
{assign var=notFirst value=1} {foreachelse} {translate key="common.none"} getId()}" class="action">{translate key="submission.addSuppFile"} {/foreach} |
|
{translate key="submission.submitter"} | {assign var="submitter" value=$submission->getUser()} {assign var=emailString value=$submitter->getFullName()|concat:" <":$submitter->getEmail():">"} {url|assign:"url" page="user" op="email" redirectUrl=$currentUrl to=$emailString|to_array subject=$submission->getLocalizedTitle|strip_tags articleId=$submission->getId()} {$submitter->getFullName()|escape} {icon name="mail" url=$url} | |
{translate key="common.dateSubmitted"} | {$submission->getDateSubmitted()|date_format:$dateFormatShort} | |
{translate key="section.section"} | {$submission->getSectionTitle()|escape} | |
{translate key="article.commentsToEditor"} | {$submission->getCommentsToEditor()|strip_unsafe_html|nl2br} | |
{translate key="submission.abstractViews"} | {$publishedArticle->getViews()} |