{** * templates/reviewer/submission.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 the reviewer administration page. * * FIXME: At "Notify The Editor", fix the date. * *} {strip} {assign var="articleId" value=$submission->getId()} {assign var="reviewId" value=$reviewAssignment->getId()} {translate|assign:"pageTitleTranslated" key="submission.page.review" id=$articleId} {assign var="pageCrumbTitle" value="submission.review"} {include file="common/header.tpl"} {/strip}

{translate key="reviewer.article.submissionToBeReviewed"}

{assign var=editAssignments value=$submission->getEditAssignments()} {foreach from=$editAssignments item=editAssignment} {if !$notFirstEditAssignment} {assign var=notFirstEditAssignment value=1} {/if}
{translate key="article.title"} {$submission->getLocalizedTitle()|strip_unsafe_html}
{translate key="article.journalSection"} {$submission->getSectionTitle()|escape}
{translate key="article.abstract"} {$submission->getLocalizedAbstract()|strip_unsafe_html|nl2br}
{translate key="reviewer.article.submissionEditor"} {/if} {assign var=emailString value=$editAssignment->getEditorFullName()|concat:" <":$editAssignment->getEditorEmail():">"} {url|assign:"url" page="user" op="email" to=$emailString|to_array redirectUrl=$currentUrl subject=$submission->getLocalizedTitle()|strip_tags articleId=$articleId} {$editAssignment->getEditorFullName()|escape} {icon name="mail" url=$url} {if !$editAssignment->getCanEdit() || !$editAssignment->getCanReview()} {if $editAssignment->getCanEdit()} ({translate key="submission.editing"}) {else} ({translate key="submission.review"}) {/if} {/if}
{/foreach} {if $notFirstEditAssignment}
{translate key="submission.metadata"} {translate key="submission.viewMetadata"}

{translate key="reviewer.article.reviewSchedule"}

{translate key="reviewer.article.schedule.request"} {if $submission->getDateNotified()}{$submission->getDateNotified()|date_format:$dateFormatShort}{else}—{/if}
{translate key="reviewer.article.schedule.response"} {if $submission->getDateConfirmed()}{$submission->getDateConfirmed()|date_format:$dateFormatShort}{else}—{/if}
{translate key="reviewer.article.schedule.submitted"} {if $submission->getDateCompleted()}{$submission->getDateCompleted()|date_format:$dateFormatShort}{else}—{/if}
{translate key="reviewer.article.schedule.due"} {if $submission->getDateDue()}{$submission->getDateDue()|date_format:$dateFormatShort}{else}—{/if}

{translate key="reviewer.article.reviewSteps"}

{include file="common/formErrors.tpl"} {assign var="currentStep" value=1} {assign var=editAssignments value=$submission->getEditAssignments} {* FIXME: Should be able to assign primary editorial contact *} {if $editAssignments[0]}{assign var=firstEditAssignment value=$editAssignments[0]}{/if} {if $journal->getLocalizedSetting('reviewGuidelines') != ''} {/if} {if $currentJournal->getSetting('requireReviewerCompetingInterests')} {/if}{* $currentJournal->getSetting('requireReviewerCompetingInterests') *} {if $reviewAssignment->getReviewFormId()} {else}{* $reviewAssignment->getReviewFormId() *} {/if}{* $reviewAssignment->getReviewFormId() *}
{$currentStep|escape}.{assign var="currentStep" value=$currentStep+1} {translate key="reviewer.article.notifyEditorA"}{if $firstEditAssignment}, {$firstEditAssignment->getEditorFullName()|escape},{/if} {translate key="reviewer.article.notifyEditorB"}
  {translate key="submission.response"}     {if not $confirmedStatus} {url|assign:"acceptUrl" op="confirmReview" reviewId=$reviewId} {url|assign:"declineUrl" op="confirmReview" reviewId=$reviewId declineReview=1} {if !$submission->getCancelled()} {translate key="reviewer.article.canDoReview"} {icon name="mail" url=$acceptUrl}      {translate key="reviewer.article.cannotDoReview"} {icon name="mail" url=$declineUrl} {else} {translate key="reviewer.article.canDoReview"} {icon name="mail" disabled="disabled" url=$acceptUrl}      {translate key="reviewer.article.cannotDoReview"} {icon name="mail" disabled="disabled" url=$declineUrl} {/if} {else} {if not $declined}{translate key="submission.accepted"}{else}{translate key="submission.rejected"}{/if} {/if}
 
{$currentStep|escape}.{assign var="currentStep" value=$currentStep+1} {translate key="reviewer.article.consultGuidelines"}
 
{$currentStep|escape}.{assign var="currentStep" value=$currentStep+1} {translate key="reviewer.article.downloadSubmission"}
  {if ($confirmedStatus and not $declined) or not $journal->getSetting('restrictReviewerFileAccess')} {else} {/if}
{translate key="submission.submissionManuscript"} {if $reviewFile} {if $submission->getDateConfirmed() or not $journal->getSetting('restrictReviewerAccessToFile')} getFileId():$reviewFile->getRevision()}" class="file">{$reviewFile->getFileName()|escape} {else}{$reviewFile->getFileName()|escape}{/if}   {$reviewFile->getDateModified()|date_format:$dateFormatShort} {else} {translate key="common.none"} {/if}
{translate key="article.suppFiles"} {assign var=sawSuppFile value=0} {foreach from=$suppFiles item=suppFile} {if $suppFile->getShowReviewers() } {assign var=sawSuppFile value=1} getFileId()}" class="file">{$suppFile->getFileName()|escape}
{/if} {/foreach} {if !$sawSuppFile} {translate key="common.none"} {/if}
{translate key="reviewer.article.restrictedFileAccess"}
 
{$currentStep|escape}.{assign var="currentStep" value=$currentStep+1} {url|assign:"competingInterestGuidelinesUrl" page="information" op="competingInterestGuidelines"} {translate key="reviewer.article.enterCompetingInterests" competingInterestGuidelinesUrl=$competingInterestGuidelinesUrl} {if not $confirmedStatus or $declined or $submission->getCancelled() or $submission->getRecommendation()}
{$reviewAssignment->getCompetingInterests()|strip_unsafe_html|nl2br} {else}

{/if}
 
{$currentStep|escape}.{assign var="currentStep" value=$currentStep+1} {translate key="reviewer.article.enterReviewForm"}
  {if $confirmedStatus and not $declined} getReviewFormId()}" class="icon"> {translate key="submission.reviewForm"} {icon name="comment"} {else} {translate key="submission.reviewForm"} {icon name="comment" disabled="disabled"} {/if}
 
{$currentStep|escape}.{assign var="currentStep" value=$currentStep+1} {translate key="reviewer.article.enterReviewA"}
  {if $confirmedStatus and not $declined} {translate key="submission.logType.review"} {icon name="comment"} {else} {translate key="submission.logType.review"} {icon name="comment" disabled="disabled"} {/if}
 
{$currentStep|escape}.{assign var="currentStep" value=$currentStep+1} {translate key="reviewer.article.uploadFile"}
  {foreach from=$submission->getReviewerFileRevisions() item=reviewerFile key=key} {assign var=uploadedFileExists value="1"} {foreachelse} {/foreach}
{if $key eq "0"} {translate key="reviewer.article.uploadedFile"} {/if} getFileId():$reviewerFile->getRevision()}" class="file">{$reviewerFile->getFileName()|escape} {$reviewerFile->getDateModified()|date_format:$dateFormatShort} {if ($submission->getRecommendation() === null || $submission->getRecommendation() === '') && (!$submission->getCancelled())} getFileId():$reviewerFile->getRevision()}">{translate key="common.delete"} {/if}
{translate key="reviewer.article.uploadedFile"} {translate key="common.none"}
{if $submission->getRecommendation() === null || $submission->getRecommendation() === ''}
getCancelled()}disabled="disabled"{/if} class="uploadField" /> getCancelled()}disabled="disabled"{/if} class="button" />
{if $currentJournal->getSetting('showEnsuringLink')} {translate key="reviewer.article.ensuringBlindReview"} {/if} {/if}
 
{$currentStep|escape}.{assign var="currentStep" value=$currentStep+1} {translate key="reviewer.article.selectRecommendation"}
 
{translate key="submission.recommendation"} {if $submission->getRecommendation() !== null && $submission->getRecommendation() !== ''} {assign var="recommendation" value=$submission->getRecommendation()} {translate key=$reviewerRecommendationOptions.$recommendation}   {$submission->getDateCompleted()|date_format:$dateFormatShort} {else}
     getCancelled() or (!$reviewFormResponseExists and !$reviewAssignment->getMostRecentPeerReviewComment() and !$uploadedFileExists)}disabled="disabled"{/if} />
{/if}
{if $journal->getLocalizedSetting('reviewGuidelines') != ''}

{translate key="reviewer.article.reviewerGuidelines"}

{$journal->getLocalizedSetting('reviewGuidelines')|nl2br}

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