From 19d6b6cd7aa32f844362f77ca7f0403af37fc396 Mon Sep 17 00:00:00 2001 From: David Baker <dave@matrix.org> Date: Thu, 21 Apr 2016 19:22:53 +0100 Subject: [PATCH] Add WIP email template files --- res/templates/notif.html | 14 ++++++++++++++ res/templates/room.html | 6 ++++++ 2 files changed, 20 insertions(+) create mode 100644 res/templates/notif.html create mode 100644 res/templates/room.html diff --git a/res/templates/notif.html b/res/templates/notif.html new file mode 100644 index 0000000000..648ff034b3 --- /dev/null +++ b/res/templates/notif.html @@ -0,0 +1,14 @@ +<!doctype html> +<html lang="en"> + <body> + <h1>{{ summaryText }}</h1> + <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> diff --git a/res/templates/room.html b/res/templates/room.html new file mode 100644 index 0000000000..ef36b4ee58 --- /dev/null +++ b/res/templates/room.html @@ -0,0 +1,6 @@ +<div class="room"> + <h2>{{ room.title }}</h2> + <div> + Things have happened in this room + </div> +</div> -- GitLab