From: Matthijs Kooijman Date: Fri, 1 Feb 2008 10:07:33 +0000 (+0100) Subject: * Improve the influence_changed email template a bit. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=a1c300cff776502f8cc31eb12b71c6e198cf0663;p=matthijs%2Fprojects%2Fxerxes.git * Improve the influence_changed email template a bit. --- diff --git a/templates/influences/email/influence_changed b/templates/influences/email/influence_changed index e9b72bf..aab3324 100644 --- a/templates/influences/email/influence_changed +++ b/templates/influences/email/influence_changed @@ -1,7 +1,7 @@ {% autoescape off %}From: Inschrijfsysteem -Subject: Influence {{ influence }} was changed. +Subject: {% if created %}Influence "{{ influence }}" submitted.{% else %}Influence "{{ influence }}" was changed.{% endif%} -{% filter lower|wordwrap:72 %} +{% filter wordwrap:72 %} You have submitted an influence on {{influence.created}}. {% if not created %}The influence has been modified. The current status is:{% else %}You submitted:{% endif %} {% endfilter %} @@ -9,10 +9,10 @@ Character: {{ influence.character }} Contact: {{ influence.contact }} Summary: {{ influence.summary }} Status: {{ influence.get_status_display }} -Long term: {{ influence.longterm }} +Long term: {{ influence.longterm|yesno|capfirst }} Description: -{{ influence.description }} +{% filter wordwrap:72 %}{{ influence.description }}{% endfilter %} {% if influence.result %} Result: