From 3c39fa89027452cc4472ceb85d5d91a254cb2f50 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 5 May 2016 01:58:58 +0100 Subject: First cut at Vector-branded mail templates --- res/templates-vector/notif.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 res/templates-vector/notif.txt (limited to 'res/templates-vector/notif.txt') diff --git a/res/templates-vector/notif.txt b/res/templates-vector/notif.txt new file mode 100644 index 0000000000..b515f394c3 --- /dev/null +++ b/res/templates-vector/notif.txt @@ -0,0 +1,12 @@ +{% for message in notif.messages %} +{{ message.sender_name }} ({{ message.ts|format_ts("%H:%M") }}) +{% if message.msgtype == "m.text" %} +{{ message.body_text_plain }} +{% elif message.msgtype == "m.image" %} +{{ message.body_text_plain }} +{% elif message.msgtype == "m.file" %} +{{ message.body_text_plain }} +{% endif %} +{% endfor %} + +View at {{ notif.link }} -- cgit 1.4.1