Skip to content
Snippets Groups Projects
Commit 2e90c74c authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

Merge branch 'hin-956-email-footer' into 'develop'

feat(emails): add footer

See merge request !51
parents 00d845da d0175808
No related branches found
No related tags found
2 merge requests!58Sprint #20 - Goal - Reviewers submit report,!51feat(emails): add footer
...@@ -46,9 +46,10 @@ class Email { ...@@ -46,9 +46,10 @@ class Email {
return { return {
html: helpers.getInvitationBody({ html: helpers.getInvitationBody({
replacements: { replacements: {
toUserName: this.toUser.name,
...this.content,
...body, ...body,
...this.content,
toEmail: this.toUser.email,
toUserName: this.toUser.name,
}, },
}), }),
text: `${this.content.signatureName}`, text: `${this.content.signatureName}`,
...@@ -59,8 +60,9 @@ class Email { ...@@ -59,8 +60,9 @@ class Email {
html: helpers.getNotificationBody({ html: helpers.getNotificationBody({
replacements: { replacements: {
...body, ...body,
toUserName: this.toUser.name,
...this.content, ...this.content,
toEmail: this.toUser.email,
toUserName: this.toUser.name,
}, },
}), }),
text: `${body.paragraph} ${this.content.ctaLink} ${ text: `${body.paragraph} ${this.content.ctaLink} ${
......
<div data-role="module-unsubscribe" class="module unsubscribe-css__unsubscribe___2CDlR" role="module" data-type="unsubscribe" <div data-role="module-unsubscribe" class="module unsubscribe-css__unsubscribe___2CDlR" role="module" data-type="unsubscribe"
style="color:#444444;font-size:12px;line-height:20px;padding:16px 16px 16px 16px;text-align:center"> style="color:#444444;font-size:12px;line-height:20px;padding:16px 16px 16px 16px;text-align:center">
<p style="font-family:Arial, Helvetica, sans-serif;font-size:11px;line-height:20px;text-align:left">
This email was sent to {{toEmail}}. You have received this email in regards to the account creation, submission, or peer review process of a paper submitted to a journal published by Hindawi Limited.
</p>
<div class="Unsubscribe--addressLine"> <div class="Unsubscribe--addressLine">
<p class="Unsubscribe--senderName" style="font-family:Arial, Helvetica, sans-serif;font-size:12px;line-height:20px">Hindawi Limited</p> <p style="font-family:Arial, Helvetica, sans-serif;font-size:11px;line-height:20px;text-align:left">
<p style="font-family:Arial, Helvetica, sans-serif;font-size:12px;line-height:20px"> Hindawi Limited, 3rd Floor, Adam House, 1 Fitzroy Square, London, W1T 5HF, United Kingdom
<span class="Unsubscribe--senderAddress">3rd Floor, Adam House, 1 Fitzroy Square</span>,
<span class="Unsubscribe--senderCity">London</span>,
<span class="Unsubscribe--senderState">United Kingdom</span>
<span class="Unsubscribe--senderZip">W1T 5HF</span>
</p> </p>
</div> </div>
<p style="font-family:Arial, Helvetica, sans-serif;font-size:11px;line-height:20px;text-align:left">
</p>
<p style="font-family:Arial, Helvetica, sans-serif;font-size:11px;line-height:20px;text-align:left">
Hindawi respects your right to privacy. Please see our <a href="https://www.hindawi.com/privacy/">privacy policy</a> for information on how we store, process, and safeguard your data.
</p>
<p style="font-family:Arial, Helvetica, sans-serif;font-size:12px;line-height:20px"> <p style="font-family:Arial, Helvetica, sans-serif;font-size:12px;line-height:20px">
<a class="Unsubscribe--unsubscribeLink" href="{{ unsubscribeLink }}">Unsubscribe</a> <a class="Unsubscribe--unsubscribeLink" href="{{ unsubscribeLink }}">Unsubscribe</a>
</p> </p>
......
...@@ -153,9 +153,11 @@ ...@@ -153,9 +153,11 @@
<table class="wrapper" role="module" data-type="image" border="0" cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed;"> <table class="wrapper" role="module" data-type="image" border="0" cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed;">
<tr> <tr>
<td style="font-size:6px;line-height:10px;padding:20px 0px 20px 0px;" valign="top" align="center"> <td style="font-size:6px;line-height:10px;padding:20px 0px 20px 0px;" valign="top" align="center">
<img class="max-width" border="0" style="display:block;color:#000000;text-decoration:none;font-family:Helvetica, arial, sans-serif;font-size:16px;max-width:10% !important;width:10%;height:auto !important;" <a href="https://hindawi.com">
src="https://marketing-image-production.s3.amazonaws.com/uploads/bb39b20cf15e52c1c0933676e25f2b2402737c6560b8098c204ad6932b84eb2058804376dbc4db138c7a21dcaed9325bde36185648afac5bc97e3d73d4e12718.png" <img class="max-width" border="0" style="display:block;color:#000000;text-decoration:none;font-family:Helvetica, arial, sans-serif;font-size:16px;max-width:10% !important;width:10%;height:auto !important;"
alt="" width="60"> src="https://marketing-image-production.s3.amazonaws.com/uploads/bb39b20cf15e52c1c0933676e25f2b2402737c6560b8098c204ad6932b84eb2058804376dbc4db138c7a21dcaed9325bde36185648afac5bc97e3d73d4e12718.png"
alt="" width="60">
</a>
</td> </td>
</tr> </tr>
</table> </table>
\ No newline at end of file
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