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