Skip to content

Commit

Permalink
pkp#8051 Improve default author guidelines and submission checklist
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr committed Dec 15, 2022
1 parent e4cf161 commit 85f17b4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
1 change: 1 addition & 0 deletions schemas/context.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"authorGuidelines": {
"type": "string",
"multilingual": true,
"defaultLocaleKey": "default.contextSettings.authorGuidelines",
"validation": [
"nullable"
]
Expand Down
23 changes: 11 additions & 12 deletions templates/frontend/pages/submissions.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,26 @@
{/if}
</div>

{if $submissionChecklist}
<div class="submission_checklist">
<h2>
{translate key="about.submissionPreparationChecklist"}
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="workflow" anchor="submission/submissionChecklist" sectionTitleKey="about.submissionPreparationChecklist"}
</h2>
{translate key="about.submissionPreparationChecklist.description"}
{$submissionChecklist}
</div>
{/if}

{if $currentContext->getLocalizedData('authorGuidelines')}
<div class="author_guidelines" id="authorGuidelines">
<h2>
{translate key="about.authorGuidelines"}
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="workflow" anchor="submission/authorGuidelines" sectionTitleKey="about.authorGuidelines"}
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="workflow" anchor="submission/instructions" sectionTitleKey="about.authorGuidelines"}
</h2>
{$currentContext->getLocalizedData('authorGuidelines')}
</div>
{/if}

{if $submissionChecklist}
<div class="submission_checklist">
<h2>
{translate key="about.submissionPreparationChecklist"}
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="workflow" anchor="submission/instructions" sectionTitleKey="about.submissionPreparationChecklist"}
</h2>
{$submissionChecklist}
</div>
{/if}

{foreach from=$sections item="section"}
{if $section->getLocalizedPolicy()}
<div class="section_policy">
Expand Down

0 comments on commit 85f17b4

Please sign in to comment.