diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2024-04-21 22:44:22 +0100 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2024-05-26 15:55:56 +0100 |
commit | de518b4d2510980750d9c54eda3b0e0fe8d73ecd (patch) | |
tree | 69c3fa5464d6f2657bef909c4f9bd057fee3dedb /views/emails/addEventAttendee | |
parent | 6f0721686aea7647554ad0f3ee4f6099bff4ef58 (diff) |
feat: unattend events from RSVP email
Diffstat (limited to 'views/emails/addEventAttendee')
-rw-r--r-- | views/emails/addEventAttendee/addEventAttendeeHtml.handlebars | 3 | ||||
-rw-r--r-- | views/emails/addEventAttendee/addEventAttendeeText.handlebars | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/views/emails/addEventAttendee/addEventAttendeeHtml.handlebars b/views/emails/addEventAttendee/addEventAttendeeHtml.handlebars index 971364c..48cdb48 100644 --- a/views/emails/addEventAttendee/addEventAttendeeHtml.handlebars +++ b/views/emails/addEventAttendee/addEventAttendeeHtml.handlebars @@ -1,6 +1,7 @@ <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">You just marked yourself as attending an event on {{siteName}}. Thank you! We'll send you another email if there are any updates to the event. Your email will be automatically removed from the database once the event finishes.</p> <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Follow this link to open the event page any time: <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;">Need to remove yourself from this event? Head to the event page and use this <strong>deletion password</strong>: {{removalPassword}}</p> +<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Need to remove yourself from this event? <a href="https://{{domain}}/event/{{eventID}}/unattend/{{removalPasswordHash}}">Click this link</a>.</p> +<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">You can also head to the event page and use this <strong>deletion password</strong>: {{removalPassword}}</p> <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Love,</p> <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">{{siteName}}</p> <hr/> diff --git a/views/emails/addEventAttendee/addEventAttendeeText.handlebars b/views/emails/addEventAttendee/addEventAttendeeText.handlebars index 2e0eca7..3930e28 100644 --- a/views/emails/addEventAttendee/addEventAttendeeText.handlebars +++ b/views/emails/addEventAttendee/addEventAttendeeText.handlebars @@ -2,7 +2,9 @@ You just marked yourself as attending an event on {{siteName}}. Thank you! We'll Follow this link to open the event page any time: https://{{domain}}/{{eventID}} -Need to remove yourself from this event? Head to the event page and use this deletion password: {{removalPassword}} +Need to remove yourself from this event? Click this link: https://{{domain}}/event/{{eventID}}/unattend/{{removalPasswordHash}} + +You can also head to the event page and use this deletion password: {{removalPassword}} Love, |