Skip to content

Commit

Permalink
pkp/pkp-lib#10670 New workflow&dashboard urls (#1804)
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec authored Jan 14, 2025
1 parent f900aef commit 57b0965
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pages/dashboard/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

switch ($op) {
case 'index':
return new APP\pages\dashboard\DashboardHandlerNext();
case 'editorial':
return new APP\pages\dashboard\DashboardHandlerNext(PKP\pages\dashboard\DashboardPage::EditorialDashboard);
case 'mySubmissions':
Expand Down
2 changes: 1 addition & 1 deletion templates/frontend/objects/monograph_full.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
{* Indicate if this is only a preview *}
{if $publication->getData('status') !== \PKP\submission\PKPSubmission::STATUS_PUBLISHED}
<div class="cmp_notification notice">
{capture assign="submissionUrl"}{url page="workflow" op="access" path=$monograph->getId()}{/capture}
{capture assign="submissionUrl"}{url page="dashboard" op="editorial" workflowSubmissionId=$monograph->getId()}{/capture}
{translate key="submission.viewingPreview" url=$submissionUrl}
</div>
{/if}
Expand Down

0 comments on commit 57b0965

Please sign in to comment.