Skip to content
Snippets Groups Projects
Commit 47115a2d authored by Sebastian Mihalache's avatar Sebastian Mihalache
Browse files

fix(component-manuscript-manager): add submitting author to eic rejected email

parent cc45128e
No related branches found
No related tags found
1 merge request!10Sprint #12
...@@ -454,7 +454,7 @@ module.exports = { ...@@ -454,7 +454,7 @@ module.exports = {
replacements.paragraph = `I am sorry to inform you that manuscript titled "${ replacements.paragraph = `I am sorry to inform you that manuscript titled "${
meta.fragment.title meta.fragment.title
}" by ${ }" by ${
meta.fragment.authorName meta.fragment.submittingAuthorName
} has been rejected for publication. <br/><br/> } has been rejected for publication. <br/><br/>
${meta.authorNoteText}<br/><br/>` ${meta.authorNoteText}<br/><br/>`
replacements.hasLink = false replacements.hasLink = false
......
...@@ -205,6 +205,9 @@ const setupAuthorsEmailData = async ({ ...@@ -205,6 +205,9 @@ const setupAuthorsEmailData = async ({
id, id,
title, title,
authorName: toAuthor.name, authorName: toAuthor.name,
submittingAuthorName: `${submittingAuthor.firstName} ${
submittingAuthor.lastName
}`,
}, },
handlingEditorName: collection.handlingEditor.name, handlingEditorName: collection.handlingEditor.name,
baseUrl, baseUrl,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment