summary refs log tree commit diff
path: root/res/templates-vector/notif_mail.html
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2016-05-05 01:58:58 +0100
committerMatthew Hodgson <matthew@matrix.org>2016-05-05 02:00:33 +0100
commit3c39fa89027452cc4472ceb85d5d91a254cb2f50 (patch)
tree1eb7f98d74574b6c0a135e3fd1a08c3bccee4e5f /res/templates-vector/notif_mail.html
parenthandle fragments correctly on mxc URLs. (diff)
downloadsynapse-3c39fa89027452cc4472ceb85d5d91a254cb2f50.tar.xz
First cut at Vector-branded mail templates
Diffstat (limited to 'res/templates-vector/notif_mail.html')
-rw-r--r--res/templates-vector/notif_mail.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/res/templates-vector/notif_mail.html b/res/templates-vector/notif_mail.html
new file mode 100644
index 0000000000..86e7b6e867
--- /dev/null
+++ b/res/templates-vector/notif_mail.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<html lang="en">
+    <head>
+        <style type="text/css">
+            {% include 'mail.css' without context %}
+        </style>
+    </head>
+    <body>
+        <div id="page">
+            <div class="header">
+                <img class="logo" src="http://matrix.org/img/vector-logo-email.png" width="64" height="83" alt="Vector"/>
+                <div class="salutation">Hi {{ user_display_name }},</div>
+                <div class="summarytext">{{ summary_text|replace("%app%", "Vector") }}</div>
+            </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>
+        </div>
+    </body>
+</html>