This commit is contained in:
Sanj 2011-10-05 20:09:13 +05:30
parent de9c875013
commit 21b06699cf

View File

@ -1,7 +1,7 @@
{% load thumbnail %} {% load thumbnail %}
<div class="itfInfo"> <div class="itfInfo">
{% for s in stories %} {% for s in stories %}
<span class="itfInfoSub">Story: </span><span class="ifInfoInfo">{{ s.text }}</span> <span class="orange">Story: </span><span class="ifInfoInfo">{{ s.text }}</span>
{% if s.image %} {% if s.image %}
{% thumbnail s.image "100x100" crop="center" as im %} {% thumbnail s.image "100x100" crop="center" as im %}
<img class="itfInfoImg" src="{{ im.url }}" /> <img class="itfInfoImg" src="{{ im.url }}" />
@ -9,21 +9,23 @@
{% endif %} {% endif %}
<br /><br /> <br /><br />
{% endfor %} {% endfor %}
<span class="itfInfoSub">Law: </span><span class="itfInfoInfo">{{ law }}</span> <span class="orange">Law: </span><span class="itfInfoInfo">{{ law }}</span>
{% if law_image %} {% if law_image %}
{% thumbnail law_image "100x100" crop="center" as im %} {% thumbnail law_image "100x100" crop="center" as im %}
<img class="itfInfoImg" src="{{ im.url }}" /> <img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %} {% endthumbnail %}
{% endif %} {% endif %}
<br /><br /> <br /><br />
<span class="itfInfoSub">Relevance to Theatre: </span><span class="itfInfoInfo">{{ theatre|linebreaksbr }}</span> <span class="orange">Relevance to Theatre: </span><span class="itfInfoInfo">{{ theatre|linebreaksbr }}</span> <br /><br />
<span class="itfInfoSub">Quick Howto: </span><span class="itfInfoInfo">{{ quick_howto|linebreaksbr }}</span><br /><br /> <span class="orange">Quick Howto: </span><span class="itfInfoInfo">{{ quick_howto|linebreaksbr }}</span><br /><br />
<div class="thumbsGallery">
{% for img in images %} {% for img in images %}
{% thumbnail img.image "100x100" crop="center" as im %} {% thumbnail img.image "100x100" crop="center" as im %}
<img class="itfInfoImg" src="{{ im.url }}" /> <img class="itfInfoImg" src="{{ im.url }}" class="thumbsDetails" />
{% endthumbnail %} {% endthumbnail %}
{% endfor %} {% endfor %}
</div>
</div> </div>