clean dev
[wolnelektury.git] / src / catalogue / templates / catalogue / plain_list.html
index fb2abe0..e26bb7f 100644 (file)
@@ -3,21 +3,21 @@
 
 
 <div class='{% if paged %}plain-list-paged {% endif %}plain-list-container white-box'>
-<div class='plain-list' style=''>
-{% for initial, object_list in names %}
-    {% if initial_blocks %}<div class="initial-block">{% endif %}
-    {% if initial %}
+  <div class="pager-center">
+      <div class="pager"></div>
+  </div>
+  <div class='plain-list' style=''>
+    {% for initial, object_list in names %}
+      {% if initial_blocks %}<div class="initial-block">{% endif %}
+      {% if initial %}
         <p class="header">{{ initial }}</p>
-    {% endif %}
-    {% for item in object_list %}
+      {% endif %}
+      {% for item in object_list %}
         <p><a href="{% if book %}{% url 'book_fragments' book.slug item.slug %}{% elif choice %}{% catalogue_url list_type choice item %}{% elif list_type == 'gallery' and item.get_absolute_gallery_url %}{{ item.get_absolute_gallery_url }}{% else %}{{ item.get_absolute_url }}{% endif %}">{{ item }}{% if item.count %}&nbsp;({{ item.count}}){% endif %}</a></p>
-    {% endfor %}
+      {% endfor %}
     {% if initial_blocks %}</div>{% endif %}
-{% endfor %}
-</div>
-    <div class="pager-center">
-        <div class="pager"></div>
-    </div>
+    {% endfor %}
+  </div>
 </div>
 
 {% endspaceless %}