aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/emails
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/emails')
-rw-r--r--server/lib/emails/abuse-new-message/html.pug11
-rw-r--r--server/lib/emails/abuse-state-change/html.pug9
2 files changed, 20 insertions, 0 deletions
diff --git a/server/lib/emails/abuse-new-message/html.pug b/server/lib/emails/abuse-new-message/html.pug
new file mode 100644
index 000000000..a4180aba1
--- /dev/null
+++ b/server/lib/emails/abuse-new-message/html.pug
@@ -0,0 +1,11 @@
1extends ../common/greetings
2include ../common/mixins.pug
3
4block title
5 | New abuse message
6
7block content
8 p
9 | A new message was created on #[a(href=WEBSERVER.URL) abuse ##{abuseId} on #{WEBSERVER.HOST}]
10 blockquote #{messageText}
11 br(style="display: none;")
diff --git a/server/lib/emails/abuse-state-change/html.pug b/server/lib/emails/abuse-state-change/html.pug
new file mode 100644
index 000000000..a94c8521d
--- /dev/null
+++ b/server/lib/emails/abuse-state-change/html.pug
@@ -0,0 +1,9 @@
1extends ../common/greetings
2include ../common/mixins.pug
3
4block title
5 | Abuse state changed
6
7block content
8 p
9 | #[a(href=abuseUrl) Your abuse ##{abuseId} on #{WEBSERVER.HOST}] has been #{isAccepted ? 'accepted' : 'rejected'}