* Add a greeting to the influence_changed email.
[matthijs/projects/xerxes.git] / templates / influences / email / influence_changed.html
1 {% load i18n%}{% autoescape off %}From: Inschrijfsysteem <inschrijf@evolution-events.nl>
2 Subject: {% if created %}{% blocktrans %}Influence "{{ influence }}" submitted.{% endblocktrans %}{% else %}{% blocktrans %}Influence "{{ influence }}" was changed.{% endblocktrans %}{% endif%}
3
4 {% if recipients.0.first_name %}{% blocktrans with recipients.0.first_name as name %}Hello {{ name }}{% endblocktrans %}{% else %}{% trans "L.S." %}{% endif %},
5 {% filter wordwrap:72 %}
6 {% blocktrans with influence.created as creation_date %}You have submitted an influence on {{ creation_date }}.{% endblocktrans %}
7 {% if not created %}{% blocktrans %}The influence has been modified. The current status is{%endblocktrans %}:{% else %}{% blocktrans %}You submitted{% endblocktrans%}:{% endif %}
8 {% endfilter %}
9 {% filter ljust:20%}{% trans "Character" %}:{%endfilter%}{{ influence.character }}
10 {% filter ljust:20%}{% trans "Contact" %}:{%endfilter%}{{ influence.contact }}
11 {% filter ljust:20%}{% trans "Summary" %}:{%endfilter%}{{ influence.summary }}
12 {% filter ljust:20%}{% trans "Status" %}:{%endfilter%}{{ influence.get_status_display }}
13 {% filter ljust:20%}{% trans "Long term" %}:{%endfilter%}{{ influence.longterm|yesno|capfirst }}
14 {% trans "Description" %}:
15 {% filter wordwrap:72 %}{{ influence.description }}{% endfilter %}
16 {% if influence.result %}
17 {% trans "Result" %}:
18 {% filter wordwrap:72 %}{{ influence.result }}{% endfilter %}
19 {% endif %}{% endautoescape %}