* Update influence_changed template to use the gapless template tag, which makes...
authorMatthijs Kooijman <matthijs@stdio.flexvps.nl>
Fri, 8 Feb 2008 23:22:24 +0000 (00:22 +0100)
committerMatthijs Kooijman <matthijs@stdio.flexvps.nl>
Fri, 8 Feb 2008 23:22:24 +0000 (00:22 +0100)
templates/influences/email/influence_changed.html

index ea98d9bee70658462336b6710ac528adef41ced3..6aaa4321aa6362e2492f5cd9025b5148da2ac49e 100644 (file)
@@ -1,11 +1,28 @@
-{% 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 %},
+{% load i18n %}{% load gapless %}{% autoescape off %}{% gapless %}
+From: Inschrijfsysteem <inschrijf@evolution-events.nl>
+{% if created %}
+Subject: {% blocktrans %}Influence "{{ influence }}" submitted.{% endblocktrans %}
+{% else %}
+Subject: {% 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|date:"j F Y" 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 %}
+{% blocktrans with influence.created|date:"j F Y" 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 %}
 {% endfilter %}
+\\
 {% filter ljust:20%}{% trans "Character" %}:{%endfilter%}{{ influence.character }}
 {% filter ljust:20%}{% trans "Contact" %}:{%endfilter%}{{ influence.contact }}
 {% filter ljust:20%}{% trans "Summary" %}:{%endfilter%}{{ influence.summary }}
@@ -16,4 +33,5 @@ Subject: {% if created %}{% blocktrans %}Influence "{{ influence }}" submitted.{
 {% if influence.result %}
 {% trans "Result" %}:
 {% filter wordwrap:72 %}{{ influence.result }}{% endfilter %}
-{% endif %}{% endautoescape %}
+{% endif %}
+{% endgapless %}{% endautoescape %}