From 063b6fe528a82dec4bd0883d3971884ffa3f6248 Mon Sep 17 00:00:00 2001
From: Giannis Kopanas <jkopanas@gmail.com>
Date: Sun, 10 Jun 2018 15:11:30 +0300
Subject: [PATCH] add texts to to config file

---
 app/config/journal/declarations.js  |  8 ++++----
 app/config/journal/index.js         |  2 ++
 app/config/journal/notes.js         | 12 ------------
 app/config/journal/submit-notes.js  | 14 ++++++++++++++
 app/config/journal/supplementary.js | 19 +++++++++++++++++++
 5 files changed, 39 insertions(+), 16 deletions(-)
 delete mode 100644 app/config/journal/notes.js
 create mode 100644 app/config/journal/submit-notes.js
 create mode 100644 app/config/journal/supplementary.js

diff --git a/app/config/journal/declarations.js b/app/config/journal/declarations.js
index c279e2408f..dca117515f 100644
--- a/app/config/journal/declarations.js
+++ b/app/config/journal/declarations.js
@@ -14,7 +14,7 @@ export default {
         },
       ],
       description:
-        'The journal requires data be openly available, and our full policy is <a href="https://www.collabra.org/about/editorialpolicies/#open-data-open-analytic-methods-code-and-research-materials-transparency">here</a>. If you have exceptions that need to be considered, please click "No" and explain in your cover letter below. Please click N/A if your submission does not feature data.',
+        'The journal requires data be openly available, and our full policy is <a href="https://www.collabra.org/about/editorialpolicies/#open-data-open-analytic-methods-code-and-research-materials-transparency" target="_blank">here</a>. If you have exceptions that need to be considered, please click "No" and explain in your cover letter below. Please click N/A if your submission does not feature data.',
     },
     {
       id: 'previouslySubmitted',
@@ -62,12 +62,12 @@ export default {
         },
       ],
       description:
-        'Please read a description of our <a href="https://www.collabra.org/about/editorialpolicies/#streamlined-review" target="_blank">“Streamlined Review”<a/> option and select “Yes” if you choose this process. If “Yes”, please upload your ported decision letter and reviews as “Supplementary Files” below, clearly labeled.',
+        'Please read a description of our <a href="https://www.collabra.org/about/editorialpolicies/#streamlined-review" target="_blank">“Streamlined Review”</a> option and select “Yes” if you choose this process. If “Yes”, please upload your ported decision letter and reviews as “Supplementary Files” below, clearly labeled.',
     },
     {
       id: 'researchNexus',
       legend:
-        'Submitted as part of the <a href="https://www.collabra.org/collections/special/">research nexus</a> ?',
+        'Submitted as part of the <a href="https://www.collabra.org/collections/special/" target="_blank">research nexus</a> ?',
       options: [
         {
           label: 'Yes',
@@ -95,7 +95,7 @@ export default {
         },
       ],
       description:
-        'If any or all elements of your study have been pre-registered, click yes and ensure details are in the Acknowledgements section of your manuscript, following these <a href="https://www.collabra.org/about/editorialpolicies/#preregistration-of-studies-and-analysis-plans">guidelines.</a>',
+        'If any or all elements of your study have been pre-registered, click yes and ensure details are in the Acknowledgements section of your manuscript, following these <a href="https://www.collabra.org/about/editorialpolicies/#preregistration-of-studies-and-analysis-plans" target="_blank">guidelines</a>.',
     },
   ],
 }
diff --git a/app/config/journal/index.js b/app/config/journal/index.js
index 0c6ad26b94..bace9afc1f 100644
--- a/app/config/journal/index.js
+++ b/app/config/journal/index.js
@@ -8,3 +8,5 @@ export { default as articleTypes } from './article-types'
 export { default as editors } from './editors'
 export { default as roles } from './roles'
 export { default as reviewStatus } from './review-status'
+export { default as notes } from './submit-notes'
+export { default as supplementary } from './supplementary'
diff --git a/app/config/journal/notes.js b/app/config/journal/notes.js
deleted file mode 100644
index 9ce75a2123..0000000000
--- a/app/config/journal/notes.js
+++ /dev/null
@@ -1,12 +0,0 @@
-export default {
-  fundingAcknowledgement: {
-    placeholder: 'Enter an acknowledgment…',
-    title: 'Funding body acknowledgement (required)',
-    description: '',
-  },
-  specialInstructions: {
-    placeholder: 'Enter instructions for the editor…',
-    title: 'Special instructions (confidential, to Editors only)',
-    description: '',
-  },
-}
diff --git a/app/config/journal/submit-notes.js b/app/config/journal/submit-notes.js
new file mode 100644
index 0000000000..1e811e33f2
--- /dev/null
+++ b/app/config/journal/submit-notes.js
@@ -0,0 +1,14 @@
+export default {
+  fundingAcknowledgement: {
+    placeholder: 'Enter an acknowledgment…',
+    title: 'Funding body acknowledgement (required)',
+    description:
+      'Please also specifically state if your work was <u>not</u> supported by funding.',
+  },
+  specialInstructions: {
+    placeholder: 'Enter instructions for the editor…',
+    title: 'Special instructions (confidential, to Editors only)',
+    description:
+      'Please write or paste what you would normally write into a cover letter here, focusing on information that has not been covered by this form, or any further information prompted by your answers to the questions above.',
+  },
+}
diff --git a/app/config/journal/supplementary.js b/app/config/journal/supplementary.js
new file mode 100644
index 0000000000..10a60338e4
--- /dev/null
+++ b/app/config/journal/supplementary.js
@@ -0,0 +1,19 @@
+export default {
+  description:
+    '<pre>There are 3 types of item which should be uploaded here:<br />' +
+    '<ul>' +
+    '<li>Regular figures which should also be be embedded in the manuscript.(These are helpful for the production<br />process,if your article is accepted, in case there are any issues with the embedded versions.)</li>' +
+    '<li>Supplemental items that provide a relevant and useful expansion of the article (Examples include appendices,<br/>very large tables, audios, videos, three-dimensional visualizations, interactive graphics, and so on.)</li>' +
+    '<li>Items that support the peer review process. (Examples are ported reviews and decision letters for use during<br />the Streamlined Review workflow. Also, if you have a long cover letter you would rather upload than paste<br/>into the text box, please also upload it here.)</li>' +
+    '</ul>' +
+    'Supplemental materials can be named in almost any way, provided that the files are clearly and consistently named,<br />are uploaded in chronological order, and grouped as they are described above. For example, a typical article<br/>might include:' +
+    '<br />' +
+    '<ul>' +
+    '<li>Figure 1.jpg</li>' +
+    '<li>Figure 2.jpg</li>' +
+    '<li>Figure 3.jpg</li>' +
+    '<li>Supplemental Table 1.docx</li>' +
+    '<li>Ported Decision Letter and Reviews from Journal X.docx</li>' +
+    '</ul>' +
+    '</pre>',
+}
-- 
GitLab