fixes
[wolnelektury.git] / src / catalogue / templates / catalogue / picture_list.html
index ce61ec4..60f2eb0 100644 (file)
 
 
 {% block book_list %}
-{% for author, group in pictures_by_author.items %}
-<a name="{{ author.slug }}"/>
-<div class="group">
-  <h2><a href="{{ author.get_absolute_url }}">{{ author }}</a></h2>
-  {% for picture in group %}
-  <div class="picture">
-    {% thumbnail picture.image_file "300x300" as im %}
-    <img style="float: left; margin:{{ im|margin:"300x300" }}" src="{{ im.url }}" width="{{ im.x }}" height="{{ im.y }}" />
-    {% endthumbnail %}
-    <span class="title"><a href="{{picture.get_absolute_url}}">{{picture.title}}</a></span>
-    <br class="clearboth"/>
-  </div>
+  {% for author, group in pictures_by_author.items %}
+    <a name="{{ author.slug }}"></a>
+    <div class="group">
+      <h2><a href="{{ author.get_absolute_url }}">{{ author }}</a></h2>
+      {% for picture in group %}
+        <div class="picture">
+          {% thumbnail picture.image_file "300x300" as im %}
+            <img style="float: left; margin:{{ im|margin:"300x300" }}" src="{{ im.url }}" width="{{ im.x }}" height="{{ im.y }}" />
+          {% endthumbnail %}
+          <span class="title"><a href="{{picture.get_absolute_url}}">{{picture.title}}</a></span>
+          <br class="clearboth"/>
+        </div>
+      {% endfor %}
+    </div>
   {% endfor %}
-</div>
-  
-{% endfor %}
-
 {% endblock %}
-