summary refs log tree commit diff
path: root/res/templates-vector/room.txt
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/room.txt
parenthandle fragments correctly on mxc URLs. (diff)
downloadsynapse-3c39fa89027452cc4472ceb85d5d91a254cb2f50.tar.xz
First cut at Vector-branded mail templates
Diffstat (limited to 'res/templates-vector/room.txt')
-rw-r--r--res/templates-vector/room.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/res/templates-vector/room.txt b/res/templates-vector/room.txt
new file mode 100644
index 0000000000..84648c710e
--- /dev/null
+++ b/res/templates-vector/room.txt
@@ -0,0 +1,9 @@
+{{ room.title }}
+
+{% if room.invite %}
+    You've been invited, join at {{ room.link }}
+{% else %}
+    {% for notif in room.notifs %}
+        {% include 'notif.txt' with context %}
+    {% endfor %}
+{% endif %}