first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{**
|
||||
* templates/controllers/tab/authorDashboard/production.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 production stage on the author dashboard.
|
||||
*}
|
||||
{if $submission->getStageId() >= $smarty.const.WORKFLOW_STAGE_ID_PRODUCTION}
|
||||
{include file="authorDashboard/submissionEmails.tpl" submissionEmails=$productionEmails}
|
||||
|
||||
<!-- 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_PRODUCTION escape=false}{/capture}
|
||||
{load_url_in_div id="queriesGrid" url=$queriesGridUrl}
|
||||
{else}
|
||||
{translate key="submission.stageNotInitiated"}
|
||||
{/if}
|
||||
@@ -0,0 +1,58 @@
|
||||
{**
|
||||
* templates/controllers/tab/pubIds/form/publicIdentifiersForm.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.
|
||||
*
|
||||
*}
|
||||
<script>
|
||||
$(function() {ldelim}
|
||||
// Attach the form handler.
|
||||
$('#publicIdentifiersForm').pkpHandler(
|
||||
'$.pkp.controllers.form.AjaxFormHandler',
|
||||
{ldelim}
|
||||
trackFormChanges: true
|
||||
{rdelim}
|
||||
);
|
||||
{rdelim});
|
||||
</script>
|
||||
{if $pubObject instanceof Article}
|
||||
<form class="pkp_form" id="publicIdentifiersForm" method="post" action="{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT op="updateIdentifiers"}">
|
||||
{include file="controllers/notification/inPlaceNotification.tpl" notificationId="publicationIdentifiersFormFieldsNotification"}
|
||||
<input type="hidden" name="submissionId" value="{$pubObject->getId()|escape}" />
|
||||
<input type="hidden" name="stageId" value="{$stageId|escape}" />
|
||||
<input type="hidden" name="tabPos" value="1" />
|
||||
<input type="hidden" name="displayedInContainer" value="{$formParams.displayedInContainer|escape}" />
|
||||
<input type="hidden" name="tab" value="identifiers" />
|
||||
{elseif $pubObject instanceof \PKP\galley\Galley}
|
||||
<form class="pkp_form" id="publicIdentifiersForm" method="post" action="{url component="grid.articleGalleys.ArticleGalleyGridHandler" op="updateIdentifiers" submissionId=$submissionId publicationId=$pubObject->getData('publicationId') representationId=$pubObject->getId() escape=false}">
|
||||
{include file="controllers/notification/inPlaceNotification.tpl" notificationId="representationIdentifiersFormFieldsNotification"}
|
||||
{elseif $pubObject instanceof SubmissionFile}
|
||||
<form class="pkp_form" id="publicIdentifiersForm" method="post" action="{url component="api.file.ManageFileApiHandler" op="updateIdentifiers" fileId=$pubObject->getId() submissionId=$pubObject->getData('submissionId') stageId=$stageId fileStageId=$pubObject->getFileStage() escape=false}">
|
||||
{include file="controllers/notification/inPlaceNotification.tpl" notificationId="fileIdentifiersFormFieldsNotification"}
|
||||
{else} {* $pubObject instanceof Issue *}
|
||||
<form class="pkp_form" id="publicIdentifiersForm" method="post" action="{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT op="updateIdentifiers" issueId=$pubObject->getId()}">
|
||||
{include file="controllers/notification/inPlaceNotification.tpl" notificationId="issueIdentifiersFormFieldsNotification"}
|
||||
{/if}
|
||||
{csrf}
|
||||
|
||||
{* Help Link *}
|
||||
{help file="issue-management" section="edit-issue-identifiers" class="pkp_help_tab"}
|
||||
|
||||
{*include file="common/formErrors.tpl"*}
|
||||
{if $enablePublisherId}
|
||||
{fbvFormSection}
|
||||
{fbvElement type="text" label="submission.publisherId" id="publisherId" name="publisherId" value=$publisherId size=$fbvStyles.size.MEDIUM disabled=$formDisabled}
|
||||
{/fbvFormSection}
|
||||
{/if}
|
||||
|
||||
{foreach from=$pubIdPlugins item=pubIdPlugin}
|
||||
{assign var=pubIdMetadataFile value=$pubIdPlugin->getPubIdMetadataFile()}
|
||||
{assign var=canBeAssigned value=$pubIdPlugin->canBeAssigned($pubObject)}
|
||||
{include file="$pubIdMetadataFile" pubObject=$pubObject canBeAssigned=$canBeAssigned formDisabled=$formDisabled}
|
||||
{/foreach}
|
||||
{call_hook name="Templates::Controllers::Tab::PubIds::Form::PublicIdentifiersForm"}
|
||||
{fbvFormButtons id="publicIdentifiersFormSubmit" submitText="common.save" submitDisabled=$formDisabled hideCancel=$formDisabled}
|
||||
|
||||
</form>
|
||||
@@ -0,0 +1,31 @@
|
||||
{**
|
||||
* templates/controllers/tab/workflow/production.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.
|
||||
*
|
||||
* Production workflow stage
|
||||
*}
|
||||
|
||||
{* Help tab *}
|
||||
{help file="editorial-workflow/production" class="pkp_help_tab"}
|
||||
|
||||
<div id="production">
|
||||
{include file="controllers/notification/inPlaceNotification.tpl" notificationId="productionNotification" requestOptions=$productionNotificationRequestOptions refreshOn="stageStatusUpdated"}
|
||||
|
||||
<div class="pkp_workflow_sidebar">
|
||||
{capture assign=productionEditorDecisionsUrl}{url router=\PKP\core\PKPApplication::ROUTE_PAGE page="workflow" op="editorDecisionActions" submissionId=$submission->getId() stageId=$stageId escape=false}{/capture}
|
||||
{load_url_in_div id="productionEditorDecisionsDiv" url=$productionEditorDecisionsUrl class="editorDecisionActions pkp_tab_actions"}
|
||||
{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" url=$stageParticipantGridUrl class="pkp_participants_grid"}
|
||||
</div>
|
||||
|
||||
<div class="pkp_workflow_content">
|
||||
{capture assign=productionReadyFilesGridUrl}{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.files.productionReady.ProductionReadyFilesGridHandler" op="fetchGrid" submissionId=$submission->getId() stageId=$stageId escape=false}{/capture}
|
||||
{load_url_in_div id="productionReadyFilesGridDiv" url=$productionReadyFilesGridUrl}
|
||||
{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>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user