diff options
author | Raphael <raphaelkabo@gmail.com> | 2020-01-06 13:07:02 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-06 13:07:02 +1100 |
commit | c5835cbdbcfe3abda637e298a89b36ebb058c22a (patch) | |
tree | 47d1a48404203b494c554cf1a1c1777808620569 /views/emails/createevent.handlebars | |
parent | 3c386a9d7c3e1a2c94e1cf7f0cd60f80b108cf18 (diff) | |
parent | e212c731dd0348434586de8fdbdad383d3072fae (diff) |
Merge pull request #27 from dariusk/email-templates
Refactor email to use source-controlled templates
Diffstat (limited to 'views/emails/createevent.handlebars')
-rw-r--r-- | views/emails/createevent.handlebars | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/views/emails/createevent.handlebars b/views/emails/createevent.handlebars new file mode 100644 index 0000000..030ee58 --- /dev/null +++ b/views/emails/createevent.handlebars @@ -0,0 +1,19 @@ +<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Your event has been created!</p> +<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Use this link to share it with people: <a href="https://{{domain}}/{{eventID}}">https://{{domain}}/{{eventID}}</a></p> +<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Click this button to edit your event. <strong>DO NOT SHARE THIS</strong>, as anyone with this link can edit your event.</p> + +<table border="0" cellpadding="0" cellspacing="0" class="btn btn-primary" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; box-sizing: border-box;"> + <tbody> + <tr> + <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top; padding-bottom: 15px;"> + <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: auto;"> + <tbody> + <tr> + <td style="font-family: sans-serif; font-size: 14px; vertical-align: top; background-color: #28a745; border-radius: 5px; text-align: center;"> <a href="https://{{domain}}/{{eventID}}?e={{editToken}}" target="_blank" style="display: inline-block; color: #ffffff; background-color: #28a745; border: solid 1px #28a745; border-radius: 5px; box-sizing: border-box; cursor: pointer; text-decoration: none; font-size: 14px; font-weight: bold; margin: 0; padding: 12px 25px; text-transform: capitalize; border-color: #28a745;">Edit Your Event</a> </td> + </tr> + </tbody> + </table> + </td> + </tr> + </tbody> +</table> |