* Add a greeting to the influence_changed email.
[matthijs/projects/xerxes.git] / templates / influences / email / influence_changed.html
index 2e12da0e96a8bdfcfff8b7be8d5cf1326a6dff0f..6431ff0f8e15bbc739d8fde66c8c59e3f9ce7ef5 100644 (file)
@@ -1,6 +1,7 @@
 {% load i18n%}{% autoescape off %}From: Inschrijfsysteem <inschrijf@evolution-events.nl>
 Subject: {% if created %}{% blocktrans %}Influence "{{ influence }}" submitted.{% endblocktrans %}{% else %}{% blocktrans %}Influence "{{ influence }}" was changed.{% endblocktrans %}{% endif%}
 
+{% if recipients.0.first_name %}{% blocktrans with recipients.0.first_name as name %}Hello {{ name }}{% endblocktrans %}{% else %}{% trans "L.S." %}{% endif %},
 {% filter wordwrap:72 %}
 {% blocktrans with influence.created as creation_date %}You have submitted an influence on {{ creation_date }}.{% endblocktrans %}
 {% if not created %}{% blocktrans %}The influence has been modified. The current status is{%endblocktrans %}:{% else %}{% blocktrans %}You submitted{% endblocktrans%}:{% endif %}