linebreaksbr on stories

This commit is contained in:
j 2011-10-11 19:34:30 +05:30
parent 1b8bcd7000
commit 92d50f6e25

View File

@ -1,7 +1,7 @@
{% load thumbnail %} {% load thumbnail %}
<div class="itfInfo"> <div class="itfInfo">
{% for s in stories %} {% for s in stories %}
<span class="orange">Story: </span><span class="ifInfoInfo">{{ s.text }}</span> <span class="orange">Story: </span><span class="ifInfoInfo">{{ s.text|linebreaksbr }}</span>
{% if s.image %} {% if s.image %}
{% thumbnail s.image "164x114" crop="center" as im %} {% thumbnail s.image "164x114" crop="center" as im %}
<img class="itfInfoImg" src="{{ im.url }}" /> <img class="itfInfoImg" src="{{ im.url }}" />