* Only show the longterm in the email and detail template when it is set to yes.
[matthijs/projects/xerxes.git] / templates / influences / email / influence_changed.html
index 29403015ed37152452f1fb9df548bf495520607f..3c563373e0d847d18da15b17a39fe8112e30e5e9 100644 (file)
@@ -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 }}