Update the influence_changed email template to the changes in the Influence model.
[matthijs/projects/xerxes.git] / templates / influences / email / influence_changed.html
1 {% load gapless %}{% gapless %}
2 {% load i18n %}
3 {% load list %}
4 {% autoescape off %}
5 From: Xerxes (Evolution Events)<xerxes@evolution-events.nl>
6 X-Mailer: Xerxes
7 {% if created %}
8 Subject: {% blocktrans %}Influence "{{ influence }}" submitted.{% endblocktrans %}
9 {% else %}
10 Subject: {% blocktrans %}Influence "{{ influence }}" was changed.{% endblocktrans %}
11 {% endif%}
12 \\
13 {% if first_name %}
14 {% blocktrans %}Hello {{ first_name }}{% endblocktrans %},
15 {% else %}
16 {% trans "L.S." %},
17 {% endif %}
18 \\
19 {% filter wordwrap:72 %}
20 {% blocktrans with influence.created|date:"j F Y" as creation_date %}
21 You are involved in this influence, submitted on {{ creation_date }}.
22 {% endblocktrans %}
23 {% if not created %}
24 {% blocktrans %}The influence has been modified. The current status is{%endblocktrans %}:{% else %}{% blocktrans %}You submitted{% endblocktrans%}:
25 {% endif %}
26 {% endfilter %}
27 \\
28 {% filter ljust:20%}{% trans "Iniator" %}:{%endfilter%}{{ influence.initiator }}
29 {% if influence.involved %}
30 {% filter ljust:20%}{% trans "Involved" %}:{%endfilter%}{{ influence.involved|natural_list }}
31 {% endif %}
32 {% filter ljust:20%}{% trans "Summary" %}:{%endfilter%}{{ influence.summary }}
33 {% filter ljust:20%}{% trans "Status" %}:{%endfilter%}{{ influence.get_status_display }}
34 {% if influence.longterm %}
35 {% filter ljust:20%}{% trans "Long term" %}:{%endfilter%}{{ influence.longterm|yesno|capfirst }}
36 {% endif %}
37 {% trans "Description" %}:
38 {% filter wordwrap:72 %}
39 {{ influence.description }}
40 {% endfilter %}
41 {% if influence.result %}
42 {% trans "Result" %}:
43 {% filter wordwrap:72 %}
44 {{ influence.result }}
45 {% endfilter %}
46 {% endif %}
47 {% endautoescape %}
48 {% endgapless %}