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

31 lines
1 KiB
HTML
Raw Normal View History

2011-10-05 19:54:04 +05:30
{% load thumbnail %}
2011-08-25 15:21:17 +05:30
<div class="itfInfo">
{% for s in stories %}
<span class="itfInfoSub">Story: </span><span class="ifInfoInfo">{{ s.text }}</span>
2011-10-05 20:01:43 +05:30
{% if s.image %}
{% thumbnail s.image "100x100" crop="center" as im %}
2011-10-05 19:58:48 +05:30
<img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %}
2011-10-05 20:01:43 +05:30
{% endif %}
2011-08-25 15:21:17 +05:30
<br /><br />
{% endfor %}
<span class="itfInfoSub">Law: </span><span class="itfInfoInfo">{{ law }}</span>
{% if law_image %}
2011-10-05 19:54:04 +05:30
{% thumbnail law_image "100x100" crop="center" as im %}
<img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %}
2011-08-25 15:21:17 +05:30
{% endif %}
<br /><br />
2011-10-05 19:54:04 +05:30
<span class="itfInfoSub">Relevance to Theatre: </span><span class="itfInfoInfo">{{ theatre|linebreaksbr }}</span>
<span class="itfInfoSub">Quick Howto: </span><span class="itfInfoInfo">{{ quick_howto|linebreaksbr }}</span><br /><br />
2011-10-05 20:01:43 +05:30
{% for img in images %}
{% thumbnail img "100x100" crop="center" as im %}
<img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %}
{% endfor %}
2011-08-25 15:21:17 +05:30
</div>