first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{**
|
||||
* lib/pkp/templates/controllers/tab/authorDashboard/editorial.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Display the editorial stage on the author dashboard.
|
||||
*}
|
||||
{if $submission->getStageId() >= $smarty.const.WORKFLOW_STAGE_ID_EDITING}
|
||||
<!-- Display editor's message to the author -->
|
||||
{include file="authorDashboard/submissionEmails.tpl" submissionEmails=$copyeditingEmails}
|
||||
|
||||
<!-- Display queries grid -->
|
||||
{capture assign=queriesGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.queries.QueriesGridHandler" op="fetchGrid" submissionId=$submission->getId() stageId=$smarty.const.WORKFLOW_STAGE_ID_EDITING escape=false}{/capture}
|
||||
{load_url_in_div id="queriesGrid" url=$queriesGridUrl}
|
||||
|
||||
<!-- Copyedited Files grid -->
|
||||
{if $canAccessCopyeditingStage}
|
||||
{capture assign=copyeditedFilesGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.files.copyedit.CopyeditFilesGridHandler" op="fetchGrid" submissionId=$submission->getId() stageId=$stageId escape=false}{/capture}
|
||||
{load_url_in_div id="copyeditedFilesGrid" url=$copyeditedFilesGridUrl}
|
||||
{/if}
|
||||
{else}
|
||||
{translate key="submission.stageNotInitiated"}
|
||||
{/if}
|
||||
@@ -0,0 +1,18 @@
|
||||
{**
|
||||
* lib/pkp/templates/controllers/tab/authorDashboard/externalReview.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Display the external review stage on the author dashboard.
|
||||
*}
|
||||
{if $submission->getStageId() >= $smarty.const.WORKFLOW_STAGE_ID_EXTERNAL_REVIEW && count($reviewRounds)}
|
||||
{include file="authorDashboard/reviewRoundTab.tpl" reviewRounds=$reviewRounds reviewRoundTabsId="externalReviewRoundTabs" lastReviewRoundNumber=$lastReviewRoundNumber}
|
||||
|
||||
<!-- Display queries grid -->
|
||||
{capture assign=queriesGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.queries.QueriesGridHandler" op="fetchGrid" submissionId=$submission->getId() stageId=$smarty.const.WORKFLOW_STAGE_ID_EXTERNAL_REVIEW escape=false}{/capture}
|
||||
{load_url_in_div id="queriesGrid" url=$queriesGridUrl}
|
||||
{else}
|
||||
{translate key="submission.stageNotInitiated"}
|
||||
{/if}
|
||||
@@ -0,0 +1,17 @@
|
||||
{**
|
||||
* lib/pkp/templates/controllers/tab/authorDashboard/submission.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Submission stage of the author dashboard.
|
||||
*}
|
||||
{capture assign=submissionFilesGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.files.submission.AuthorSubmissionDetailsFilesGridHandler" op="fetchGrid" submissionId=$submission->getId() escape=false}{/capture}
|
||||
{load_url_in_div id="submissionFilesGridDiv" url=$submissionFilesGridUrl}
|
||||
|
||||
<div id="documentsContent">
|
||||
<!-- Display queries grid -->
|
||||
{capture assign=queriesGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.queries.QueriesGridHandler" op="fetchGrid" submissionId=$submission->getId() stageId=$smarty.const.WORKFLOW_STAGE_ID_SUBMISSION escape=false}{/capture}
|
||||
{load_url_in_div id="queriesGrid" url=$queriesGridUrl}
|
||||
</div>
|
||||
@@ -0,0 +1,34 @@
|
||||
{**
|
||||
* templates/workflow/editorial.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Editorial workflow stage
|
||||
*}
|
||||
<div id="editorial">
|
||||
|
||||
{include file="controllers/notification/inPlaceNotification.tpl" notificationId="editingNotification_"|concat:$submission->getId() requestOptions=$editingNotificationRequestOptions refreshOn="stageStatusUpdated"}
|
||||
|
||||
{* Help Link *}
|
||||
{help file="editorial-workflow/copyediting" class="pkp_help_tab"}
|
||||
|
||||
<div class="pkp_workflow_sidebar">
|
||||
{capture assign=copyeditingEditorDecisionsUrl}{url router=\PKP\core\PKPApplication::ROUTE_PAGE page="workflow" op="editorDecisionActions" submissionId=$submission->getId() stageId=$stageId escape=false}{/capture}
|
||||
{load_url_in_div id="copyeditingEditorDecisionsDiv" url=$copyeditingEditorDecisionsUrl class="editorDecisionActions pkp_tab_actions"}
|
||||
{include file="controllers/tab/workflow/stageParticipants.tpl"}
|
||||
</div>
|
||||
|
||||
<div class="pkp_workflow_content">
|
||||
{capture assign=finalDraftFilesGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.files.final.FinalDraftFilesGridHandler" op="fetchGrid" submissionId=$submission->getId() stageId=$stageId escape=false}{/capture}
|
||||
{load_url_in_div id="finalDraftFilesGrid" url=$finalDraftFilesGridUrl}
|
||||
|
||||
{capture assign=queriesGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.queries.QueriesGridHandler" op="fetchGrid" submissionId=$submission->getId() stageId=$stageId escape=false}{/capture}
|
||||
{load_url_in_div id="queriesGrid" url=$queriesGridUrl}
|
||||
|
||||
{capture assign=copyeditedFilesGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.files.copyedit.CopyeditFilesGridHandler" op="fetchGrid" submissionId=$submission->getId() stageId=$stageId escape=false}{/capture}
|
||||
{load_url_in_div id="copyeditedFilesGrid" url=$copyeditedFilesGridUrl}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,53 @@
|
||||
{**
|
||||
* templates/workflow/review.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Review workflow stage.
|
||||
*}
|
||||
|
||||
{* Help tab *}
|
||||
{help file="editorial-workflow/review" class="pkp_help_tab"}
|
||||
|
||||
<script type="text/javascript">
|
||||
// Attach the JS file tab handler.
|
||||
$(function() {ldelim}
|
||||
$('#reviewTabs').pkpHandler(
|
||||
'$.pkp.controllers.TabHandler',
|
||||
{ldelim}
|
||||
{assign var=roundIndex value=$lastReviewRoundNumber-1}
|
||||
selected: {$roundIndex},
|
||||
{rdelim}
|
||||
);
|
||||
{rdelim});
|
||||
</script>
|
||||
|
||||
{if $reviewRounds}
|
||||
<div id="reviewTabs" class="pkp_controllers_tab">
|
||||
<ul>
|
||||
{foreach from=$reviewRounds item=reviewRound}
|
||||
<li>
|
||||
<a href="{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="tab.workflow.ReviewRoundTabHandler" op=$reviewRoundOp submissionId=$submission->getId() stageId=$reviewRound->getStageId() reviewRoundId=$reviewRound->getId()}">{translate key="submission.round" round=$reviewRound->getRound()}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
{if $newRoundUrl}
|
||||
<li>
|
||||
<a href="{$newRoundUrl}" id="newReviewRoundButton">{translate key="editor.submission.newRound"}</a>
|
||||
<script type="text/javascript">
|
||||
$('#newReviewRoundButton').click(function() {
|
||||
window.location($(this).attr('href'));
|
||||
});
|
||||
</script>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{capture assign=queriesGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.queries.QueriesGridHandler" op="fetchGrid" submissionId=$submission->getId() stageId=$stageId escape=false}{/capture}
|
||||
{load_url_in_div id="queriesGrid" url=$queriesGridUrl}
|
||||
{else}
|
||||
<p>{translate key="editor.review.notInitiated"}</p>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,11 @@
|
||||
{**
|
||||
* templates/workflow/stageParticipants.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Include for stage participants grid.
|
||||
*}
|
||||
{capture assign=stageParticipantGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.users.stageParticipant.StageParticipantGridHandler" op="fetchGrid" submissionId=$submission->getId() stageId=$stageId escape=false}{/capture}
|
||||
{load_url_in_div id="stageParticipantGridContainer-"|concat:$reviewRoundId url=$stageParticipantGridUrl class="pkp_participants_grid"}
|
||||
@@ -0,0 +1,26 @@
|
||||
{**
|
||||
* templates/workflow/submission.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Display submission details (metadata, file grid)
|
||||
*}
|
||||
|
||||
{* Help Link *}
|
||||
{help file="editorial-workflow/submission" class="pkp_help_tab"}
|
||||
|
||||
<div class="pkp_workflow_sidebar">
|
||||
{capture assign=submissionEditorDecisionsUrl}{url router=\PKP\core\PKPApplication::ROUTE_PAGE page="workflow" op="editorDecisionActions" submissionId=$submission->getId() stageId=$stageId contextId="submission" escape=false}{/capture}
|
||||
{load_url_in_div id="submissionEditorDecisionsDiv" url=$submissionEditorDecisionsUrl class="pkp_tab_actions"}
|
||||
{include file="controllers/tab/workflow/stageParticipants.tpl"}
|
||||
</div>
|
||||
|
||||
<div class="pkp_workflow_content">
|
||||
{capture assign=submissionFilesGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.files.submission.EditorSubmissionDetailsFilesGridHandler" op="fetchGrid" submissionId=$submission->getId() stageId=$stageId escape=false}{/capture}
|
||||
{load_url_in_div id="submissionFilesGridDiv" url=$submissionFilesGridUrl}
|
||||
|
||||
{capture assign=queriesGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.queries.QueriesGridHandler" op="fetchGrid" submissionId=$submission->getId() stageId=$stageId escape=false}{/capture}
|
||||
{load_url_in_div id="queriesGrid" url=$queriesGridUrl}
|
||||
</div>
|
||||
Reference in New Issue
Block a user