{** * templates/sectionEditor/selectReviewer.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. * * List reviewers and give the ability to select a reviewer. * *} {strip} {assign var="pageTitle" value="user.role.reviewers"} {include file="common/header.tpl"} {/strip}

{translate key="editor.article.selectReviewer"}

 

{foreach from=$alphaList item=letter}{if $letter == $searchInitial}{$letter|escape}{else}{$letter|escape}{/if} {/foreach}{if $searchInitial==''}{translate key="common.all"}{else}{translate key="common.all"}{/if}

{translate key="sectionEditor.review.enrollReviewer"} | {translate key="sectionEditor.review.createReviewer"}{foreach from=$reviewerDatabaseLinks item="link"}{if !empty($link.title) && !empty($link.url)} | {$link.title|escape}{/if}{/foreach}

{assign var=numCols value=7} {if $rateReviewerOnQuality} {assign var=numCols value=$numCols+1} {/if} {if $rateReviewerOnQuality} {/if} {iterate from=reviewers item=reviewer} {assign var="userId" value=$reviewer->getId()} {assign var="qualityCount" value=$averageQualityRatings[$userId].count} {assign var="reviewerStats" value=$reviewerStatistics[$userId]} {if $rateReviewerOnQuality}{/if} {/iterate} {if $reviewers->wasEmpty()} {else} {/if}
 
{sort_search key="user.name" sort="reviewerName"} {translate key="user.interests"}{sort_search key="reviewer.averageQuality" sort="quality"}{sort_search key="reviewer.completedReviews" sort="done"} {sort_search key="editor.submissions.averageTime" sort="average"} {sort_search key="editor.submissions.lastAssigned" sort="latest"} {sort_search key="common.active" sort="active"} {translate key="common.action"}
 
{$reviewer->getFullName()|escape} {$reviewer->getInterestString()|escape} {if $qualityCount}{$averageQualityRatings[$userId].average|string_format:"%.1f"} {else}{translate key="common.notApplicableShort"}{/if} {if $completedReviewCounts[$userId]} {$completedReviewCounts[$userId]} {else} 0 {/if} {if $reviewerStats.average_span} {math equation="round(theSpan)" theSpan=$reviewerStats.average_span} {else} — {/if} {if $reviewerStats.last_notified}{$reviewerStats.last_notified|date_format:$dateFormatShort}{else}—{/if} {$reviewerStats.incomplete|default:0} {if $reviewer->review_id} {if $reviewer->declined} getUserId()}">{translate key="editor.reassign"} {else} {translate key="common.alreadyAssigned"} {/if} {else} getId()}">{translate key="common.assign"} {/if}
 
{translate key="manager.people.noneEnrolled"}
 
{page_info iterator=$reviewers} {page_links anchor="reviewers" name="reviewers" iterator=$reviewers searchInitial=$searchInitial searchField=$searchField searchMatch=$searchMatch search=$search dateFromDay=$dateFromDay dateFromYear=$dateFromYear dateFromMonth=$dateFromMonth dateToDay=$dateToDay dateToYear=$dateToYear dateToMonth=$dateToMonth sort=$sort sortDirection=$sortDirection}

{translate key="common.notes"}

{translate key="editor.article.selectReviewerNotes"}

{include file="common/footer.tpl"}