Skip to content

Commit

Permalink
pkp/pkp-lib#5717 Rough prototype of new discussion UI
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr committed Jun 30, 2021
1 parent 1a5ebe9 commit 676e8af
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions templates/workflow/workflow.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,30 @@
{load_url_in_div id="submissionProgressBarDiv" url=$submissionProgressBarUrl}
</div>
</tab>
<tab id="discussions" label="Discussions">
<div>
<pkp-button ref="newDiscussionButton" @click="openNewDiscussion">
New Discussion
</pkp-button>
</div>
<modal
v-bind="MODAL_PROPS"
name="newDiscussion"
@closed="setFocusToRef('newDiscussionButton')"
>
<modal-content
close-label="Close"
modal-name="newDiscussion"
title="Start a Discussion"
>
<composer :variables="variables" :submit-url="addDiscussionApiUrl" :template-api-url="emailTemplateApiUrl">
<div class="composer__description">
Open a discussion in the <strong>Copyediting</strong> stage.
</div>
</composer>
</modal-content>
</modal>
</tab>
{if $canAccessPublication}
<tab id="publication" label="{translate key="submission.publication"}">
{help file="editorial-workflow/publication" class="pkp_help_tab"}
Expand Down

0 comments on commit 676e8af

Please sign in to comment.