2 {% load catalogue_tags %}
4 <div class='{% if paged %}plain-list-paged {% endif %}plain-list-container white-box'>
5 <div class="pager-center">
6 <div class="pager"></div>
8 <div class='plain-list' style=''>
9 {% for initial, object_list in names %}
10 {% if initial_blocks %}<div class="initial-block">{% endif %}
12 <p class="header">{{ initial }}</p>
14 {% for item in object_list %}
15 <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 %} ({{ item.count}}){% endif %}</a></p>
17 {% if initial_blocks %}</div>{% endif %}