it/itf/templates/modules/bestpractices/bestpractice.html
2011-10-08 03:03:05 -04:00

39 lines
1.2 KiB
HTML
Executable File

{% load thumbnail %}
<div class="itfInfo">
{% for s in stories %}
<span class="orange">Story: </span><span class="ifInfoInfo">{{ s.text }}</span>
{% if s.image %}
{% thumbnail s.image "164x114" crop="center" as im %}
<img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %}
{% endif %}
<br /><br />
{% endfor %}
<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>
<span class="orange">Law: </span><span class="itfInfoInfo">{{ law }}</span>
{% if law_image %}
{% thumbnail law_image "164x114" crop="center" as im %}
<img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %}
{% endif %}
<br /><br />
{% if theatre %}
<span class="orange">Spotlight on Theatre: </span><span class="itfInfoInfo">{{ theatre|linebreaksbr }}</span> <br /><br />
{% endif %}
{% if quick_howto %}
<span class="orange">Quick Howto: </span><span class="itfInfoInfo">{{ quick_howto|linebreaksbr }}</span><br /><br />
{% endif %}
</div>