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

33 lines
1.1 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 %}
{% thumbnail s.image "100x100" 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-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-05 14:24:04 +00:00
{% thumbnail law_image "100x100" crop="center" as im %}
<img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %}
2011-08-25 09:51:17 +00:00
{% endif %}
<br /><br />
2011-10-05 14:39:13 +00:00
<span class="orange">Relevance to Theatre: </span><span class="itfInfoInfo">{{ theatre|linebreaksbr }}</span> <br /><br />
<span class="orange">Quick Howto: </span><span class="itfInfoInfo">{{ quick_howto|linebreaksbr }}</span><br /><br />
2011-10-05 14:31:43 +00:00
2011-10-05 14:39:13 +00:00
<div class="thumbsGallery">
2011-10-05 14:31:43 +00:00
{% for img in images %}
2011-10-05 14:36:42 +00:00
{% thumbnail img.image "100x100" crop="center" as im %}
2011-10-06 11:12:20 +00:00
<img src="{{ im.url }}" class="thumbsDetails" data-bigimage="/static/{{ img.url }}"/>
2011-10-05 14:31:43 +00:00
{% endthumbnail %}
{% endfor %}
2011-10-05 14:39:13 +00:00
</div>
2011-10-05 14:31:43 +00:00
2011-08-25 09:51:17 +00:00
</div>