/
organization_updated.eml
40 lines (38 loc) · 1.17 KB
/
organization_updated.eml
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
{% extends "notification/base.eml" %}
{% block subject %}
{% trans organization=organization.printable_name|safe %}{{organization}} was updated{% endtrans %}
{% endblock %}
{% block html_content %}
<h3>{% trans organization=organization.printable_name %}{{organization}} was updated{% endtrans %}</h3>
<div class="info">
<p>
<a href="{{urls.user.profile}}">{{user.username}}</a> {% trans %}modified
the following fields in{% endtrans %} <a href="{{urls.organization.profile}}">{{organization.printable_name}}</a>:
</p>
<table>
<thead>
<tr>
<th></th>
<th class="table-header">{% trans %}PREVIOUSLY{% endtrans %}</th>
<th class="table-header">{% trans %}CURRENT{% endtrans %}</th>
</tr>
</thead>
<tbody>
{% for field_name, change in changes.items() %}
<tr>
<th class="table-header">{{field_name}}</th>
<td>{{change.pre}}</td>
<td>{{change.post}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<hr />
<div id="support">
<p>
{% trans %}If the changes look suspicious to you, please email us
at{% endtrans %} <a href="mailto:{{broker.email}}">{{broker.email}}</a>.
</p>
</div>
{% endblock %}