{** * templates/author/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 author's editor decision table. * *}

{translate key="submission.editorDecision"}

{assign var=authorFiles value=$submission->getAuthorFileRevisions($submission->getCurrentRound())} {assign var=editorFiles value=$submission->getEditorFileRevisions($submission->getCurrentRound())}
{translate key="editor.article.decision"} {if $lastEditorDecision} {assign var="decision" value=$lastEditorDecision.decision} {translate key=$editorDecisionOptions.$decision}{if $lastEditorDecision.dateDecided != 0} {$lastEditorDecision.dateDecided|date_format:$dateFormatShort}{/if} {else} — {/if}
{translate key="submission.notifyEditor"} {url|assign:"notifyAuthorUrl" op="emailEditorDecisionComment" articleId=$submission->getId()} {icon name="mail" url=$notifyAuthorUrl}      {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}
{translate key="submission.editorVersion"} {foreach from=$editorFiles item=editorFile key=key} getId()|to_array:$editorFile->getFileId():$editorFile->getRevision()}" class="file">{$editorFile->getFileName()|escape}  {$editorFile->getDateModified()|date_format:$dateFormatShort}
{foreachelse} {translate key="common.none"} {/foreach}
{translate key="submission.authorVersion"} {foreach from=$authorFiles item=authorFile key=key} getId()|to_array:$authorFile->getFileId():$authorFile->getRevision()}" class="file">{$authorFile->getFileName()|escape}  {$authorFile->getDateModified()|date_format:$dateFormatShort}     getId()|to_array:$authorFile->getFileId():$authorFile->getRevision()}" class="action">{translate key="common.delete"}
{foreachelse} {translate key="common.none"} {/foreach}
{translate key="author.article.uploadAuthorVersion"}