diff options
author | Matthew Hodgson <matthew@arasphere.net> | 2016-05-10 16:30:05 +0200 |
---|---|---|
committer | Matthew Hodgson <matthew@arasphere.net> | 2016-05-10 16:30:05 +0200 |
commit | fe97b81c0929fd6cc31e8f0eb432e88ca8ccb045 (patch) | |
tree | 0c771563044691d447ea85cf3e3278ef50c07ea9 /res/templates/notif_mail.html | |
parent | Merge pull request #763 from matrix-org/erikj/ignore_user (diff) | |
parent | Merge remote-tracking branch 'origin/develop' into dbkr/email_notifs (diff) | |
download | synapse-fe97b81c0929fd6cc31e8f0eb432e88ca8ccb045.tar.xz |
Merge pull request #759 from matrix-org/dbkr/email_notifs
Send email notifications for missed messages
Diffstat (limited to 'res/templates/notif_mail.html')
-rw-r--r-- | res/templates/notif_mail.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/res/templates/notif_mail.html b/res/templates/notif_mail.html new file mode 100644 index 0000000000..4034f3c601 --- /dev/null +++ b/res/templates/notif_mail.html @@ -0,0 +1,40 @@ +<!doctype html> +<html lang="en"> + <head> + <style type="text/css"> + {% include 'mail.css' without context %} + {% include "mail-%s.css" % app_name ignore missing without context %} + </style> + </head> + <body> + <table id="page"> + <tr> + <td> </td> + <td id="inner"> + <table class="header"> + <tr> + <td> + <div class="salutation">Hi {{ user_display_name }},</div> + <div class="summarytext">{{ summary_text }}</div> + </td> + <td class="logo"> + {% if app_name == "Vector" %} + <img src="http://matrix.org/img/vector-logo-email.png" width="64" height="83" alt="[Vector]"/> + {% else %} + <img src="http://matrix.org/img/matrix-94px-white.png" width="94" height="40" alt="[matrix]"/> + {% endif %} + </td> + </tr> + </table> + {% for room in rooms %} + {% include 'room.html' with context %} + {% endfor %} + <div class="footer"> + <a href="{{ unsubscribe_link }}">Unsubscribe</a> + </div> + </td> + <td> </td> + </tr> + </table> + </body> +</html> |