Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENG-4907] Add moderation message to OSF Preprints #767

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading