X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Femail%2Finfluence_changed.html;h=197aef508cb41e148c8c001e5a806d9d01b94083;hb=1a2870e797b6c904ebac7ce8a563eff5aa582143;hp=6aaa4321aa6362e2492f5cd9025b5148da2ac49e;hpb=ecd3ab2dabc5319f82a221e822e980161a3647ff;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/email/influence_changed.html b/templates/influences/email/influence_changed.html index 6aaa432..197aef5 100644 --- a/templates/influences/email/influence_changed.html +++ b/templates/influences/email/influence_changed.html @@ -1,5 +1,8 @@ -{% load i18n %}{% load gapless %}{% autoescape off %}{% gapless %} -From: Inschrijfsysteem +{% load gapless %}{% gapless %} +{% load i18n %} +{% autoescape off %} +From: Xerxes (Evolution Events) +X-Mailer: Xerxes {% if created %} Subject: {% blocktrans %}Influence "{{ influence }}" submitted.{% endblocktrans %} {% else %} @@ -7,9 +10,7 @@ Subject: {% blocktrans %}Influence "{{ influence }}" was changed.{% endblocktran {% endif%} \\ {% if recipients.0.first_name %} -{% blocktrans with recipients.0.first_name as name %} -Hello {{ name }}, -{% endblocktrans %} +{% blocktrans with recipients.0.first_name as name %}Hello {{ name }}{% endblocktrans %}, {% else %} {% trans "L.S." %}, {% endif %} @@ -27,11 +28,22 @@ You have submitted an influence on {{ creation_date }}. {% 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 }} +{% if influence.longterm %} {% filter ljust:20%}{% trans "Long term" %}:{%endfilter%}{{ influence.longterm|yesno|capfirst }} +{% endif %} {% trans "Description" %}: -{% filter wordwrap:72 %}{{ influence.description }}{% endfilter %} +{% filter wordwrap:72 %} +{{ influence.description }} +{% endfilter %} {% if influence.result %} {% trans "Result" %}: -{% filter wordwrap:72 %}{{ influence.result }}{% endfilter %} +{% filter wordwrap:72 %} +{{ influence.result }} +{% endfilter %} {% endif %} -{% endgapless %}{% endautoescape %} +\\ +\\ +{% trans "View the influence and comments here:" %} +http://xerxes.evolution-events.nl{{ influence.get_absolute_url }} +{% endautoescape %} +{% endgapless %}