diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 255824ee585..d8623e03e2c 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -492,6 +492,7 @@ Cypress.Commands.add('assignParticipant', (role, name, recommendOnly) => { cy.get('select[name=filterUserGroupId').select(role); cy.get('input[id^="namegrid-users-userselect-userselectgrid-"]').type(names[1], {delay: 0}); cy.get('form[id="searchUserFilter-grid-users-userselect-userselectgrid"]').find('button[id^="submitFormButton-"]').click(); + cy.waitJQuery(); cy.get('td:contains("' + name + '")').parents('tr').find('input[name="userId"]').check(); if (recommendOnly) cy.get('input[name="recommendOnly"]').click(); cy.flushNotifications(); diff --git a/schemas/context.json b/schemas/context.json index 7addb8978f0..ad63ef19037 100644 --- a/schemas/context.json +++ b/schemas/context.json @@ -57,6 +57,7 @@ "authorGuidelines": { "type": "string", "multilingual": true, + "defaultLocaleKey": "default.contextSettings.authorGuidelines", "validation": [ "nullable" ] diff --git a/templates/frontend/pages/submissions.tpl b/templates/frontend/pages/submissions.tpl index 319345a3b91..45af3fbfe59 100644 --- a/templates/frontend/pages/submissions.tpl +++ b/templates/frontend/pages/submissions.tpl @@ -34,27 +34,26 @@ {/if} - {if $submissionChecklist} -
-

- {translate key="about.submissionPreparationChecklist"} - {include file="frontend/components/editLink.tpl" page="management" op="settings" path="workflow" anchor="submission/submissionChecklist" sectionTitleKey="about.submissionPreparationChecklist"} -

- {translate key="about.submissionPreparationChecklist.description"} - {$submissionChecklist} -
- {/if} - {if $currentContext->getLocalizedData('authorGuidelines')}

{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"}

{$currentContext->getLocalizedData('authorGuidelines')}
{/if} + {if $submissionChecklist} +
+

+ {translate key="about.submissionPreparationChecklist"} + {include file="frontend/components/editLink.tpl" page="management" op="settings" path="workflow" anchor="submission/instructions" sectionTitleKey="about.submissionPreparationChecklist"} +

+ {$submissionChecklist} +
+ {/if} + {foreach from=$sections item="section"} {if $section->getLocalizedPolicy()}