From: Matthijs Kooijman Date: Sat, 13 Feb 2010 12:08:46 +0000 (+0100) Subject: Allow linebreaks in influence description and result. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fxerxes.git;a=commitdiff_plain;h=bc3248d30172a0b2d31a8dcb0a944b4367d0dd23 Allow linebreaks in influence description and result. --- diff --git a/templates/influences/influence_detail.html b/templates/influences/influence_detail.html index 398b051..3de670a 100644 --- a/templates/influences/influence_detail.html +++ b/templates/influences/influence_detail.html @@ -10,10 +10,10 @@ {% trans "Long term" %}:{{ object.longterm|yesno|capfirst }} {% endif %} -

{{ object.description }}

+

{{ object.description|linebreaks }}

{% if object.result %}

{% trans "Result" %}

-

{{ object.result }}

+

{{ object.result|linebreaks }}

{% endif %}

{% trans "Comments" %}

{% block comments %}