{** * templates/reviewer/completed.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 reviewer's submission archive. * *}
{iterate from=submissions item=submission} {assign var="articleId" value=$submission->getId()} {assign var="reviewId" value=$submission->getReviewId()} {/iterate} {if $submissions->wasEmpty()} {else} {/if}
 
{sort_heading key="common.id" sort="id"} {translate key="submission.date.mmdd"}
{sort_heading key="common.assigned" sort="assignDate"}
{sort_heading key="submissions.sec" sort="section"} {sort_heading key="article.title" sort="title"} {sort_heading key="submission.review" sort="review"} {sort_heading key="submission.editorDecision" sort="decision"}
 
{$articleId|escape} {$submission->getDateNotified()|date_format:$dateFormatTrunc} {$submission->getSectionAbbrev()|escape} {if !$submission->getDeclined()}{/if}{$submission->getLocalizedTitle()|strip_tags|truncate:60:"..."}{if !$submission->getDeclined()}{/if} {if $submission->getDeclined()} {translate key="sectionEditor.regrets"} {else} {assign var=recommendation value=$submission->getRecommendation()} {if $recommendation === '' || $recommendation === null} — {else} {translate key=$reviewerRecommendationOptions.$recommendation} {/if} {/if} {if $submission->getCancelled() || $submission->getDeclined()} — {else} {* Display the most recent editor decision *} {assign var=round value=$submission->getRound()} {assign var=decisions value=$submission->getDecisions($round)} {foreach from=$decisions item=decision name=lastDecisionFinder} {if $smarty.foreach.lastDecisionFinder.last and $decision.decision == SUBMISSION_EDITOR_DECISION_ACCEPT} {translate key="editor.article.decision.accept"} {elseif $smarty.foreach.lastDecisionFinder.last and $decision.decision == SUBMISSION_EDITOR_DECISION_PENDING_REVISIONS} {translate key="editor.article.decision.pendingRevisions"} {elseif $smarty.foreach.lastDecisionFinder.last and $decision.decision == SUBMISSION_EDITOR_DECISION_RESUBMIT} {translate key="editor.article.decision.resubmit"} {elseif $smarty.foreach.lastDecisionFinder.last and $decision.decision == SUBMISSION_EDITOR_DECISION_DECLINE} {translate key="editor.article.decision.decline"} {/if} {foreachelse} — {/foreach} {/if}
 
{translate key="submissions.noSubmissions"}
 
{page_info iterator=$submissions} {page_links anchor="submissions" name="submissions" iterator=$submissions sort=$sort sortDirection=$sortDirection}