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