{** * templates/sectionEditor/submissionsInReview.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 section editor's submissions in review. * *}
{iterate from=submissions item=submission} {assign var="articleId" value=$submission->getId()} {assign var="highlightClass" value=$submission->getHighlightClass()} {/iterate} {if $submissions->wasEmpty()} {else} {/if}
 
{sort_search key="common.id" sort="id"} {translate key="submission.date.mmdd"}
{sort_search key="submissions.submit" sort="submitDate"}
{sort_search key="submissions.sec" sort="section"} {sort_search key="article.authors" sort="authors"} {sort_search key="article.title" sort="title"} {translate key="submission.peerReview"}
{translate key="submission.ask"} {translate key="submission.due"} {translate key="submission.done"}
{translate key="submissions.ruling"}
 
{$submission->getId()} {$submission->getDateSubmitted()|date_format:$dateFormatTrunc} {$submission->getSectionAbbrev()|escape} {$submission->getAuthorString(true)|truncate:40:"..."|escape} getId()}" class="action">{$submission->getLocalizedTitle()|strip_tags|truncate:40:"..."} {foreach from=$submission->getReviewAssignments() item=reviewAssignments} {foreach from=$reviewAssignments item=assignment name=assignmentList} {if not $assignment->getCancelled() and not $assignment->getDeclined()} {/if} {foreachelse} {/foreach} {/foreach}
{if $assignment->getDateNotified()}{$assignment->getDateNotified()|date_format:$dateFormatTrunc}{else}—{/if} {if $assignment->getDateCompleted() || !$assignment->getDateConfirmed()}—{else}{$assignment->getWeeksDue()|default:"—"}{/if} {if $assignment->getDateCompleted()}{$assignment->getDateCompleted()|date_format:$dateFormatTrunc}{else}—{/if}
{foreach from=$submission->getDecisions() item=decisions} {foreach from=$decisions item=decision name=decisionList} {if $smarty.foreach.decisionList.last} {$decision.dateDecided|date_format:$dateFormatTrunc} {/if} {foreachelse} — {/foreach} {/foreach}
 
{translate key="submissions.noSubmissions"}
 
{page_info iterator=$submissions} {page_links anchor="submissions" name="submissions" iterator=$submissions searchField=$searchField searchMatch=$searchMatch search=$search dateFromDay=$dateFromDay dateFromYear=$dateFromYear dateFromMonth=$dateFromMonth dateToDay=$dateToDay dateToYear=$dateToYear dateToMonth=$dateToMonth dateSearchField=$dateSearchField section=$section sort=$sort sortDirection=$sortDirection}