1 {% extends "base/base.html" %}
3 {% load catalogue_tags switch_tag social_tags %}
4 {% load ssi_include from ssify %}
6 {% block titleextra %}{% if tags %}{% title_from_tags tags %}{% elif list_type == 'gallery' %}{% trans "Gallery" %}{% elif list_type == 'audiobooks' %}{% trans "Audiobooks" %}{% else %}{% trans "Literature" %}{% endif %}{% endblock %}
11 {% if request.path == '/katalog/lektury/' or request.path == '/katalog/audiobooki/' %}
12 {% include "hotjar.html" %}
17 {% block bodyid %}tagged-object-list{% endblock %}
20 <div class="tabbed-filter">
21 <h1>{% if tags %}{% html_title_from_tags tags %}{% endif %}</h1>
24 <a class="tab white-box" data-id="authors">{% trans "Authors" %}</a>
25 <a class="tab white-box" data-id="epochs">{% trans "Epochs" %}</a>
26 <a class="tab white-box" data-id="genres">{% trans "Genres" %}</a>
27 <a class="tab white-box" data-id="kinds">{% trans "Kinds" %}</a>
29 <a class="tab white-box" data-id="themes">{% trans "Themes" %}</a>
34 <div class="tabbed-filter-contents">
35 <div id="authors" class="white-box normal-text tab-content">
36 {% inline_tag_list categories.author tags 'author' list_type=list_type %}
38 <div id="epochs" class="white-box normal-text tab-content">
39 {% inline_tag_list categories.epoch tags 'epoch' list_type=list_type %}
41 <div id="genres" class="white-box normal-text tab-content">
42 {% inline_tag_list categories.genre tags 'genre' list_type=list_type %}
44 <div id="kinds" class="white-box normal-text tab-content">
45 {% inline_tag_list categories.kind tags 'kind' list_type=list_type %}
48 <div id="themes" class="white-box normal-text tab-content">
49 {% inline_tag_list categories.theme tags 'theme' list_type=list_type %}
55 {% if list_type == 'books' and not tags %}
57 <h1>{% trans "Recent publications" %}</h1>
58 {% for book in last_published %}
59 {% ssi_include 'catalogue_book_mini' pk=book.pk %}
61 <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
64 <h1>{% trans "Most popular books" %}</h1>
65 {% for book in most_popular %}
66 {% ssi_include 'catalogue_book_mini' pk=book.pk %}
73 {% work_list object_list %}
79 <h2>{% trans "All matching works" %}</h2>
81 {% if list_type == 'audiobooks' %}
82 <h2>{% trans "Listing of all audiobooks" %}</h2>
84 <h2>{% trans "All works" %}</h2>
87 {% plain_list object_list by_author=True list_type=list_type %}
89 <h2>{% trans "DAISY files" %}</h2>
90 {% plain_list daisy by_author=True %}
93 {% trans "Sorry! Search cirteria did not match any resources." %}
94 {% include "info/join_us.html" %}
98 {% if categories.theme and list_type != 'audiobooks' %}
99 <h2>{% trans "Motifs and themes" %}</h2>
100 {% plain_list categories.theme choice=tags list_type=list_type %}
104 {% for tag in tags %}
105 {% if tag.category != 'set' %}
106 <h2>{% trans tag.category as c %}{{ c|capfirst }}: {{ tag }}</h2>
107 <div class="white-box">
108 {% if tag.has_description %}
109 {{ tag.description|safe }}
111 <em>{% trans "No description." %}</em>
115 {% if tag.wiki_link %}
116 <div class="white-box">
117 <a href="{{ tag.wiki_link }}">
118 {{ tag }} {% trans "in Wikipedia" %}
121 {% if tag.culturepl_link %}
122 <div class="white-box">
123 <a href="{{ tag.culturepl_link }}">
124 {{ tag }} {% trans "in Culture.pl" %}