-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotif_mail.html
41 lines (38 loc) · 1.29 KB
/
notif_mail.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{% extends "_base.html" %}
{% block title %}Nouvelle activité dans le salon{% endblock %}
{% block header %}
<style type="text/css">
{%- include 'mail.css' without context %}
{%- include "mail-%s.css" % app_name ignore missing without context %}
</style>
{% endblock %}
{% block body %}
<table id="page">
<tr>
<td> </td>
<td id="inner">
<table class="header">
<tr>
<td>
<div class="salutation">Bonjour {{ user_display_name }},</div>
<div class="summarytext">{{ summary_text }}</div>
</td>
</tr>
</table>
{%- for room in rooms %}
{%- include 'room.html' with context %}
{%- endfor %}
<div class="footer">
<a href="{{ unsubscribe_link }}">Se désabonner</a>
<br/>
<br/>
<div class="debug">
Ce message est envoyé en raison d'une activité dans le salon "{{ reason.room_name }}"
suite à la réception d'un événement il y a {{ "%.1f"|format(reason.delay_before_mail_ms / (60*1000)) }} minutes.
</div>
</div>
</td>
<td> </td>
</tr>
</table>
{% endblock %}