* Change from address and X-mailer header to say Xerxes. Don't know if this will...
[matthijs/projects/xerxes.git] / templates / influences / email / influence_changed.html
index 6aaa4321aa6362e2492f5cd9025b5148da2ac49e..3ad66c02f069ddc2fdfe70b22db1c554cf0aaeb3 100644 (file)
@@ -1,5 +1,8 @@
-{% load i18n %}{% load gapless %}{% autoescape off %}{% gapless %}
-From: Inschrijfsysteem <inschrijf@evolution-events.nl>
+{% load gapless %}{% gapless %}
+{% load i18n %}
+{% autoescape off %}
+From: Xerxes <xerxes@evolution-events.nl>
+X-Mailer: Xerxes
 {% if created %}
 Subject: {% blocktrans %}Influence "{{ influence }}" submitted.{% endblocktrans %}
 {% else %}
@@ -7,9 +10,7 @@ Subject: {% blocktrans %}Influence "{{ influence }}" was changed.{% endblocktran
 {% endif%}
 \\
 {% if recipients.0.first_name %}
-{% blocktrans with recipients.0.first_name as name %}
-Hello {{ name }},
-{% endblocktrans %}
+{% blocktrans with recipients.0.first_name as name %}Hello {{ name }}{% endblocktrans %},
 {% else %}
 {% trans "L.S." %},
 {% endif %}
@@ -29,9 +30,14 @@ You have submitted an influence on {{ creation_date }}.
 {% filter ljust:20%}{% trans "Status" %}:{%endfilter%}{{ influence.get_status_display }}
 {% filter ljust:20%}{% trans "Long term" %}:{%endfilter%}{{ influence.longterm|yesno|capfirst }}
 {% trans "Description" %}:
-{% filter wordwrap:72 %}{{ influence.description }}{% endfilter %}
+{% filter wordwrap:72 %}
+{{ influence.description }}
+{% endfilter %}
 {% if influence.result %}
 {% trans "Result" %}:
-{% filter wordwrap:72 %}{{ influence.result }}{% endfilter %}
+{% filter wordwrap:72 %}
+{{ influence.result }}
+{% endfilter %}
 {% endif %}
-{% endgapless %}{% endautoescape %}
+{% endautoescape %}
+{% endgapless %}