Skip to content

Commit

Permalink
Add moderation message to OSF Preprints (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
futa-ikeda committed Nov 7, 2023
1 parent 3ecdb81 commit 6685b6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/locales/en/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://help.osf.io/article/592-preprint-moderation">OSF Preprints moderation policies</a> on the OSF Support Center',
},
invalid: {
description: 'The following section(s) must be completed before submitting this {{documentType.singular}}.',
Expand Down
5 changes: 5 additions & 0 deletions app/templates/submit.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,11 @@
<p class="information">
{{t moderationInformation documentType=currentProvider.documentType name=providerName reviewsWorkflow=(t workflow)}}
</p>
{{#if (eq currentProvider.id 'osf')}}
<p class="information">
{{t 'submit.body.submit.information.osf_moderation_policy'}}
</p>
{{/if}}
{{else}}
<p class="information">{{t generalInformation documentType=currentProvider.documentType name=providerName}}</p>
{{/if}}
Expand Down

0 comments on commit 6685b6f

Please sign in to comment.