db optimizations
[wolnelektury.git] / src / picture / templates / picture / picturearea_short.html
1 {% load i18n %}
2 {% load picture_tags %}
3 {% load catalogue_tags %}
4
5 <div class="area">
6   <div class="area-thumbnail">
7     <a href="{% url 'picture_viewer' area.picture.slug %}{% if theme %}#theme-{{theme.slug}}{% else %}#object-{{thing.slug}}{% endif %}"><img src='{% area_thumbnail_url area "100x100" %}' /></a>
8   </div>
9   {% with area.picture as picture %}
10   <div class="area-description">
11             <div class="mono source">
12               {% book_title_html picture %}
13             </div>
14   </div>
15   <div style="clear:both"/>
16   {% endwith %}
17 </div>