* Update influence_changed template to use the gapless template tag, which makes...
[matthijs/projects/xerxes.git] / templates / influences / email / influence_changed.html
1 {% load i18n %}{% load gapless %}{% autoescape off %}{% gapless %}
2 From: Inschrijfsysteem <inschrijf@evolution-events.nl>
3 {% if created %}
4 Subject: {% blocktrans %}Influence "{{ influence }}" submitted.{% endblocktrans %}
5 {% else %}
6 Subject: {% blocktrans %}Influence "{{ influence }}" was changed.{% endblocktrans %}
7 {% endif%}
8 \\
9 {% if recipients.0.first_name %}
10 {% blocktrans with recipients.0.first_name as name %}
11 Hello {{ name }},
12 {% endblocktrans %}
13 {% else %}
14 {% trans "L.S." %},
15 {% endif %}
16 \\
17 {% filter wordwrap:72 %}
18 {% blocktrans with influence.created|date:"j F Y" as creation_date %}
19 You have submitted an influence on {{ creation_date }}.
20 {% endblocktrans %}
21 {% if not created %}
22 {% blocktrans %}The influence has been modified. The current status is{%endblocktrans %}:{% else %}{% blocktrans %}You submitted{% endblocktrans%}:
23 {% endif %}
24 {% endfilter %}
25 \\
26 {% filter ljust:20%}{% trans "Character" %}:{%endfilter%}{{ influence.character }}
27 {% filter ljust:20%}{% trans "Contact" %}:{%endfilter%}{{ influence.contact }}
28 {% filter ljust:20%}{% trans "Summary" %}:{%endfilter%}{{ influence.summary }}
29 {% filter ljust:20%}{% trans "Status" %}:{%endfilter%}{{ influence.get_status_display }}
30 {% filter ljust:20%}{% trans "Long term" %}:{%endfilter%}{{ influence.longterm|yesno|capfirst }}
31 {% trans "Description" %}:
32 {% filter wordwrap:72 %}{{ influence.description }}{% endfilter %}
33 {% if influence.result %}
34 {% trans "Result" %}:
35 {% filter wordwrap:72 %}{{ influence.result }}{% endfilter %}
36 {% endif %}
37 {% endgapless %}{% endautoescape %}