summaryrefslogtreecommitdiff
path: root/views/emails/deleteevent.handlebars
diff options
context:
space:
mode:
authorDarius Kazemi <darius.kazemi@gmail.com>2020-01-04 13:33:35 -0800
committerDarius Kazemi <darius.kazemi@gmail.com>2020-01-04 14:36:07 -0800
commite212c731dd0348434586de8fdbdad383d3072fae (patch)
treec9178e886d669e98f2c13c344acdc928893266de /views/emails/deleteevent.handlebars
parentf60041ee7471b24df688728acb7725932fd9eb5b (diff)
Email refactoring
Tons of refactoring of email. This no longer uses Sendgrid templates and now uses source-controlled handlebars files in the `views/emails/` directory. This means that email messages are now source-controlled and vastly reduces the sendgrid setup process. This also adds a new file, `domain-example.js`, in the config directory, which stores things like the site name, base URL, port, etc. This should be renamed to `domain.js`, in keeping with the other configuration files.
Diffstat (limited to 'views/emails/deleteevent.handlebars')
-rw-r--r--views/emails/deleteevent.handlebars4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/emails/deleteevent.handlebars b/views/emails/deleteevent.handlebars
new file mode 100644
index 0000000..5a3670c
--- /dev/null
+++ b/views/emails/deleteevent.handlebars
@@ -0,0 +1,4 @@
+<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">The {{eventName}} event you're attending on {{siteName}} was just deleted by its creator.</p>
+<hr/>
+<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"><strong>Hold up - I have no idea what this email is about!</strong></p>
+<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">If you didn't mark yourself as attending an event on {{siteName}}, someone may have accidentally typed your email instead of theirs. Don't worry - that event, and your email, is deleted from the system now.</p>