From a1c300cff776502f8cc31eb12b71c6e198cf0663 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 1 Feb 2008 11:07:33 +0100 Subject: [PATCH] * Improve the influence_changed email template a bit. --- templates/influences/email/influence_changed | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -- 2.30.2