-{% load i18n %}{% load gapless %}{% autoescape off %}{% gapless %}
-From: Inschrijfsysteem <inschrijf@evolution-events.nl>
+{% load gapless %}{% gapless %}
+{% load i18n %}
+{% autoescape off %}
+From: Xerxes (Evolution Events)<xerxes@evolution-events.nl>
+X-Mailer: Xerxes
{% if created %}
Subject: {% blocktrans %}Influence "{{ influence }}" submitted.{% endblocktrans %}
{% else %}
{% 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 %}
{% 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 %}