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

47 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2011-10-05 14:24:04 +00:00
{% load thumbnail %}
2011-10-26 00:05:59 +00:00
{% load markup %}
2011-08-25 09:51:17 +00:00
<div class="itfInfo">
{% for s in stories %}
2011-10-26 00:05:59 +00:00
<span class="orange">Situation: </span><span class="ifInfoInfo">{{ s.text|safe|markdown }}</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-11-01 15:20:27 +00:00
<br />
2011-08-25 09:51:17 +00:00
{% 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-26 00:05:59 +00:00
<span class="orange">Law: </span><span class="itfInfoInfo">{{ law|markdown }}</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 %}
2011-11-01 15:20:27 +00:00
<br />
2011-10-08 00:39:33 +00:00
{% if theatre %}
2011-11-01 15:21:13 +00:00
<span class="orange">Spotlight on Theatre: </span><span class="itfInfoInfo">{{ theatre|safe|markdown }}</span> <br />
2011-10-08 00:39:33 +00:00
{% endif %}
{% if quick_howto %}
2011-11-01 15:20:27 +00:00
<span class="orange">Best Practices or Quick, Tell Me How to Avoid Conflict! </span><span class="itfInfoInfo">{{ quick_howto|safe|markdown }}</span><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-26 00:05:59 +00:00
{{ l.text|markdown }}
2011-11-01 15:20:27 +00:00
<br />
{% endfor %}
{% endif %}
2011-08-25 09:51:17 +00:00
</div>