Update the influence_changed email template to the changes in the Influence model.
authorMatthijs Kooijman <matthijs@stdin.nl>
Sat, 31 Jan 2009 13:23:24 +0000 (14:23 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Sat, 31 Jan 2009 13:23:24 +0000 (14:23 +0100)
templates/influences/email/influence_changed.html

index f4c8af8671b797169bbad5bb08055d269fc0ec59..ac59c93f60db0062846511b0b7a4dd21b56dbae4 100644 (file)
@@ -1,5 +1,6 @@
 {% load gapless %}{% gapless %}
 {% load i18n %}
+{% load list %}
 {% autoescape off %}
 From: Xerxes (Evolution Events)<xerxes@evolution-events.nl>
 X-Mailer: Xerxes
@@ -24,8 +25,10 @@ You are involved in this influence, submitted on {{ creation_date }}.
 {% endif %}
 {% endfilter %}
 \\
-{% filter ljust:20%}{% trans "Character" %}:{%endfilter%}{{ influence.character }}
-{% filter ljust:20%}{% trans "Contact" %}:{%endfilter%}{{ influence.contact }}
+{% filter ljust:20%}{% trans "Iniator" %}:{%endfilter%}{{ influence.initiator }}
+{% if influence.involved %}
+{% filter ljust:20%}{% trans "Involved" %}:{%endfilter%}{{ influence.involved|natural_list }}
+{% endif %}
 {% filter ljust:20%}{% trans "Summary" %}:{%endfilter%}{{ influence.summary }}
 {% filter ljust:20%}{% trans "Status" %}:{%endfilter%}{{ influence.get_status_display }}
 {% if influence.longterm %}