it/itf/templates/modules/bestpractices/bestpractice.html

39 lines
1.2 KiB
HTML
Raw Normal View History

2011-10-05 14:24:04 +00:00
{% load thumbnail %}
2011-08-25 09:51:17 +00:00
<div class="itfInfo">
{% for s in stories %}
2011-10-05 14:39:13 +00:00
<span class="orange">Story: </span><span class="ifInfoInfo">{{ s.text }}</span>
2011-10-05 14:31:43 +00:00
{% if s.image %}
2011-10-06 11:21:22 +00:00
{% thumbnail s.image "164x114" crop="center" as im %}
2011-10-05 14:28:48 +00:00
<img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %}
2011-10-05 14:31:43 +00:00
{% endif %}
2011-08-25 09:51:17 +00:00
<br /><br />
{% endfor %}
2011-10-08 00:39:33 +00:00
<div class="thumbsGallery">
{% for img in images %}
{% thumbnail img.image "164x114" crop="center" as im %}
<img src="{{ im.url }}" class="thumbsDetails" data-bigimage="{{ img.image.url }}"/>
{% endthumbnail %}
{% endfor %}
</div>
2011-10-05 14:39:13 +00:00
<span class="orange">Law: </span><span class="itfInfoInfo">{{ law }}</span>
2011-08-25 09:51:17 +00:00
{% if law_image %}
2011-10-06 11:21:22 +00:00
{% thumbnail law_image "164x114" crop="center" as im %}
2011-10-05 14:24:04 +00:00
<img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %}
2011-08-25 09:51:17 +00:00
{% endif %}
<br /><br />
2011-10-08 00:39:33 +00:00
{% if theatre %}
<span class="orange">Spotlight on Theatre: </span><span class="itfInfoInfo">{{ theatre|linebreaksbr }}</span> <br /><br />
{% endif %}
{% if quick_howto %}
2011-10-05 14:39:13 +00:00
<span class="orange">Quick Howto: </span><span class="itfInfoInfo">{{ quick_howto|linebreaksbr }}</span><br /><br />
2011-10-08 00:39:33 +00:00
{% endif %}
2011-10-05 14:31:43 +00:00
2011-10-08 00:39:33 +00:00
2011-08-25 09:51:17 +00:00
</div>