summary refs log tree commit diff
path: root/res/templates/notif_mail.html
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-04-27 15:09:55 +0100
committerDavid Baker <dave@matrix.org>2016-04-27 15:09:55 +0100
commitfa12209c1b297a1710f487744a8a143d6cb6a2d1 (patch)
treefbaa9f9219946cb349351e5afca62b97e4105d7d /res/templates/notif_mail.html
parentMore variable calculation for email notifs (diff)
downloadsynapse-fa12209c1b297a1710f487744a8a143d6cb6a2d1.tar.xz
Hopefully all remaining bits for email notifs
Add public facing base url to the server so synapse knows what URL to use when converting mxc to http urls for use in emails
Diffstat (limited to 'res/templates/notif_mail.html')
-rw-r--r--res/templates/notif_mail.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/res/templates/notif_mail.html b/res/templates/notif_mail.html
new file mode 100644
index 0000000000..fbfb0a767c
--- /dev/null
+++ b/res/templates/notif_mail.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<html lang="en">
+    <body>
+        <div className="salutation">Hi {{ user_display_name }},</div>
+        <div className="summarytext">{{ summary_text }}</div>
+        <div class="content">
+            {% for room in rooms %}
+                {% include 'room.html' with context %}
+            {% endfor %}
+        </div>
+        <div class="footer">
+            <a href="{{ unsubscribe_link }}">Unsubscribe</a>
+        </div>
+    </body>
+</html>