Code layout change.
[wolnelektury.git] / src / picture / templates / picture / picturearea_short.html
diff --git a/src/picture/templates/picture/picturearea_short.html b/src/picture/templates/picture/picturearea_short.html
new file mode 100644 (file)
index 0000000..4fa9781
--- /dev/null
@@ -0,0 +1,17 @@
+{% load i18n %}
+{% load picture_tags %}
+{% load catalogue_tags %}
+
+<div class="area">
+  <div class="area-thumbnail">
+    <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>
+  </div>
+  {% with area.picture as picture %}
+  <div class="area-description">
+            <div class="mono source">
+             {% book_title_html picture %}
+           </div>
+  </div>
+  <div style="clear:both"/>
+  {% endwith %}
+</div>