Skip to content
Snippets Groups Projects

feat(ReviewerInvitation): Reviewers now invited, not accepted on major revision

Merged Mihail Hagiu requested to merge HIN-1120-Reviewers-Invited-Major-Revision into develop
All threads resolved!
4 files
+ 90
19
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -13,7 +13,7 @@ const getEmailCopy = ({
eicName = 'Editor in Chief',
expectedDate = new Date(),
}) => {
let paragraph
let upperContent, manuscriptText, subText, lowerContent, paragraph
let hasLink = true
let hasIntro = true
let hasSignature = true
@@ -155,11 +155,31 @@ const getEmailCopy = ({
${comments}<br/><br/>
For more information about what is required, please click the link below.<br/><br/>`
break
case 'reviewer-invitation':
upperContent = `A new version of ${titleText}, has been submitted to ${journalName} for consideration.<div>&nbsp;</div>
As you reviewed the previous version of this manuscript, I would be delighted if you would agree to review the new version and let me know whether you feel it is suitable for publication.`
subText = `The manuscript's abstract and author information is below to help you decide. Once you have agreed to review, you will be able to download the full article PDF.`
lowerContent = `If a potential conflict of interest exists between yourself and either the authors or
the subject of the manuscript, please decline to handle the manuscript. If a conflict
becomes apparent during the review process, please let me know at the earliest possible
opportunity. For more information about our conflicts of interest policies, please
see:
<a style="color:#007e92; text-decoration: none;" href="https://www.hindawi.com/ethics/#coi">https://www.hindawi.com/ethics/#coi</a>.`
break
default:
throw new Error(`The ${emailType} email type is not defined.`)
}
return { paragraph, hasLink, hasIntro, hasSignature }
return {
paragraph,
hasLink,
hasIntro,
hasSignature,
upperContent,
subText,
lowerContent,
manuscriptText,
}
}
module.exports = {