* Rename email templates to .html. With any other extension, make-messages won't...
[matthijs/projects/xerxes.git] / templates / influences / email / influence_changed.html
diff --git a/templates/influences/email/influence_changed.html b/templates/influences/email/influence_changed.html
new file mode 100644 (file)
index 0000000..2e12da0
--- /dev/null
@@ -0,0 +1,18 @@
+{% 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%}
+
+{% filter wordwrap:72 %}
+{% blocktrans with influence.created 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 }}
+{% 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 %}
+{% if influence.result %}
+{% trans "Result" %}:
+{% filter wordwrap:72 %}{{ influence.result }}{% endfilter %}
+{% endif %}{% endautoescape %}