Add the influence url to notification emails.
[matthijs/projects/xerxes.git] / templates / influences / email / influence_changed.html
index 3ad66c02f069ddc2fdfe70b22db1c554cf0aaeb3..197aef508cb41e148c8c001e5a806d9d01b94083 100644 (file)
@@ -1,7 +1,7 @@
 {% load gapless %}{% gapless %}
 {% load i18n %}
 {% autoescape off %}
-From: Xerxes <xerxes@evolution-events.nl>
+From: Xerxes (Evolution Events)<xerxes@evolution-events.nl>
 X-Mailer: Xerxes
 {% if created %}
 Subject: {% blocktrans %}Influence "{{ influence }}" submitted.{% endblocktrans %}
@@ -28,7 +28,9 @@ 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 }}
@@ -39,5 +41,9 @@ You have submitted an influence on {{ creation_date }}.
 {{ influence.result }}
 {% endfilter %}
 {% endif %}
+\\
+\\
+{% trans "View the influence and comments here:" %}
+http://xerxes.evolution-events.nl{{ influence.get_absolute_url }}
 {% endautoescape %}
 {% endgapless %}