From 6685b6f210b5f8dc676e62dc70bb5eff9bfca82c Mon Sep 17 00:00:00 2001 From: futa-ikeda <51409893+futa-ikeda@users.noreply.github.com> Date: Tue, 7 Nov 2023 13:51:04 -0500 Subject: [PATCH] Add moderation message to OSF Preprints (#767) --- app/locales/en/translations.js | 1 + app/templates/submit.hbs | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/app/locales/en/translations.js b/app/locales/en/translations.js index e9aed9b4f..3da55e23f 100644 --- a/app/locales/en/translations.js +++ b/app/locales/en/translations.js @@ -244,6 +244,7 @@ export default { create: 'By creating this {{documentType.singular}}, you confirm that all contributors agree with sharing it and that you have the right to share this {{documentType.singular}}.', submit: 'By submitting this {{documentType.singular}}, you confirm that all contributors agree with sharing it and that you have the right to share this {{documentType.singular}}.', }, + osf_moderation_policy: 'You can read more about OSF Preprints moderation policies on the OSF Support Center', }, invalid: { description: 'The following section(s) must be completed before submitting this {{documentType.singular}}.', diff --git a/app/templates/submit.hbs b/app/templates/submit.hbs index a76a53eda..20afcabce 100644 --- a/app/templates/submit.hbs +++ b/app/templates/submit.hbs @@ -603,6 +603,11 @@

{{t moderationInformation documentType=currentProvider.documentType name=providerName reviewsWorkflow=(t workflow)}}

+ {{#if (eq currentProvider.id 'osf')}} +

+ {{t 'submit.body.submit.information.osf_moderation_policy'}} +

+ {{/if}} {{else}}

{{t generalInformation documentType=currentProvider.documentType name=providerName}}

{{/if}}