Port change from trunk before migration and use wrap_text rather than

fill to wrap the ballot comments/discusses.
 - Legacy-Id: 4321
This commit is contained in:
Ole Laursen 2012-04-25 12:30:19 +00:00
parent 441ca9fb9e
commit 5cbfbba055

View file

@ -55,12 +55,12 @@
{% if p.discuss %}
<p><b>{{ p.pos.name }} ({{ p.discuss_time|date:"Y-m-d" }})</b> <img src="/images/comment.png" width="14" height="12" alt=""/></p>
<pre>{{ p.discuss|fill:"80"|escape }}</pre>
<pre>{{ p.discuss|wrap_text:80|escape }}</pre>
{% endif %}
{% if p.comment %}
<p><b>Comment ({{ p.comment_time|date:"Y-m-d" }})</b> <img src="/images/comment.png" width="14" height="12" alt=""/></p>
<pre>{{ p.comment|fill:"80"|escape }}</pre>
<pre>{{ p.comment|wrap_text:80|escape }}</pre>
{% endif %}
{% endfor %}