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

46 lines
1.5 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-24 16:55:13 +00:00
<span class="orange">Situation: </span><span class="ifInfoInfo">{{ s.text|safe|linebreaksbr }}</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 %}
2011-10-11 12:42:00 +00:00
<img title="{{ img.caption }}" src="{{ im.url }}" class="thumbsDetails" data-bigimage="{{ img.image.url }}"/>
2011-10-08 00:39:33 +00:00
{% 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 %}
2011-10-24 16:55:13 +00:00
<span class="orange">Spotlight on Theatre: </span><span class="itfInfoInfo">{{ theatre|safe|linebreaksbr }}</span> <br /><br />
2011-10-08 00:39:33 +00:00
{% endif %}
{% if quick_howto %}
2011-10-24 16:55:13 +00:00
<span class="orange">Best Practices or Quick, Tell Me How to Avoid Conflict! </span><span class="itfInfoInfo">{{ quick_howto|safe|linebreaksbr }}</span><br /><br />
2011-10-08 00:39:33 +00:00
{% endif %}
2011-10-05 14:31:43 +00:00
{% if links %}
2011-10-21 01:39:13 +00:00
<span class="orange">Links:</span><br />
{% for l in links %}
2011-10-24 12:12:07 +00:00
<a href="{{ l.url }}" class="bpRelated">{{ l.url }}</a> <br />
2011-10-21 02:03:38 +00:00
{{ l.text|linebreaksbr }}
<br /><br />
{% endfor %}
{% endif %}
2011-08-25 09:51:17 +00:00
</div>