clean dev
[wolnelektury.git] / src / catalogue / templates / catalogue / plain_list.html
1 {% spaceless %}
2 {% load catalogue_tags %}
3
4
5 <div class='{% if paged %}plain-list-paged {% endif %}plain-list-container white-box'>
6   <div class="pager-center">
7       <div class="pager"></div>
8   </div>
9   <div class='plain-list' style=''>
10     {% for initial, object_list in names %}
11       {% if initial_blocks %}<div class="initial-block">{% endif %}
12       {% if initial %}
13         <p class="header">{{ initial }}</p>
14       {% endif %}
15       {% for item in object_list %}
16         <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>
17       {% endfor %}
18     {% if initial_blocks %}</div>{% endif %}
19     {% endfor %}
20   </div>
21 </div>
22
23 {% endspaceless %}