{** * templates/sectionEditor/submission/editorDecision.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 editor decision table. * *}
{translate key="editor.article.selectDecision"} | |
{translate key="editor.article.decision"} | {foreach from=$submission->getDecisions($round) item=editorDecision key=decisionKey} {if $decisionKey neq 0} | {/if} {assign var="decision" value=$editorDecision.decision} {translate key=$editorDecisionOptions.$decision} {if $editorDecision.dateDecided != 0}{$editorDecision.dateDecided|date_format:$dateFormatShort}{/if} {foreachelse} {translate key="common.none"} {/foreach} |
{translate key="submission.notifyAuthor"} | {url|assign:"notifyAuthorUrl" op="emailEditorDecisionComment" articleId=$submission->getId()} {if $decision == SUBMISSION_EDITOR_DECISION_DECLINE} {* The last decision was a decline; notify the user that sending this message will archive the submission. *} {translate|escape:"quotes"|assign:"confirmString" key="editor.submissionReview.emailWillArchive"} {icon name="mail" url=$notifyAuthorUrl onclick="return confirm('$confirmString')"} {else} {icon name="mail" url=$notifyAuthorUrl} {/if} {translate key="submission.editorAuthorRecord"} {if $submission->getMostRecentEditorDecisionComment()} {assign var="comment" value=$submission->getMostRecentEditorDecisionComment()} getId() anchor=$comment->getId()}');" class="icon">{icon name="comment"} {$comment->getDatePosted()|date_format:$dateFormatShort} {else} getId()}');" class="icon">{icon name="comment"}{translate key="common.noComments"} {/if} |