-
Notifications
You must be signed in to change notification settings - Fork 8
/
notification.html
41 lines (36 loc) · 942 Bytes
/
notification.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 "core/mails/base.html" %}
{% load rich_text %}
{% load i18n %}
{% block emailcss %}
div.actions {
margin-top: 2rem;
}
.supertitle {
font-weight: bold;
color: #76858f;
}
{% endblock %}
{% block header %}
<span class="supertitle">
{{ organization_name }}
</span>
{{ block.super }}
{% endblock %}
{% block content %}
{{ body|rich_text }}
<div class="actions">
{% for label, url in notification.get_actions %}
<a class="btn-action" href="{{ url }}">{{ label }}</a>
{% endfor %}
</div>
{% endblock %}
{% block footer %}
<small>
{% blocktranslate trimmed %}
You are receiving this email as a member of {{ organization_name }}.
{% endblocktranslate %}
<br/>
<a href="{{ notification_settings_url }}">{% translate "Notification settings" %}</a> ·
</small>
{{ block.super }}
{% endblock %}