1 {% extends "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 %}
8 {% block bodyid %}tagged-object-list{% endblock %}
11 <div class="tabbed-filter">
12 <h1>{% if tags %}{% html_title_from_tags tags %}{% endif %}</h1>
15 <a class="tab white-box" data-id="authors">{% trans "Authors" %}</a>
16 <a class="tab white-box" data-id="epochs">{% trans "Epochs" %}</a>
17 <a class="tab white-box" data-id="genres">{% trans "Genres" %}</a>
18 <a class="tab white-box" data-id="kinds">{% trans "Kinds" %}</a>
20 <a class="tab white-box" data-id="themes">{% trans "Themes" %}</a>
25 <div class="tabbed-filter-contents">
26 <div id="authors" class="white-box normal-text tab-content">
27 {% inline_tag_list categories.author tags 'author' list_type=list_type %}
29 <div id="epochs" class="white-box normal-text tab-content">
30 {% inline_tag_list categories.epoch tags 'epoch' list_type=list_type %}
32 <div id="genres" class="white-box normal-text tab-content">
33 {% inline_tag_list categories.genre tags 'genre' list_type=list_type %}
35 <div id="kinds" class="white-box normal-text tab-content">
36 {% inline_tag_list categories.kind tags 'kind' list_type=list_type %}
39 <div id="themes" class="white-box normal-text tab-content">
40 {% inline_tag_list categories.theme tags 'theme' list_type=list_type %}
45 {% if list_type == 'books' and not tags %}
47 <h1>{% trans "Recent publications" %}</h1>
48 {% for book in last_published %}
49 {% ssi_include 'catalogue_book_mini' pk=book.pk %}
51 <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
54 <h1>{% trans "Most popular books" %}</h1>
55 {% for book in most_popular %}
56 {% ssi_include 'catalogue_book_mini' pk=book.pk %}
62 {% work_list object_list %}
68 <h2>{% trans "All matching works" %}</h2>
70 {% if list_type == 'audiobooks' %}
71 <h2>{% trans "Listing of all audiobooks" %}</h2>
73 <h2>{% trans "All works" %}</h2>
76 {% plain_list object_list by_author=True list_type=list_type %}
78 <h2>{% trans "DAISY files" %}</h2>
79 {% plain_list daisy by_author=True %}
82 {% trans "Sorry! Search cirteria did not match any resources." %}
83 {% include "info/join_us.html" %}
87 {% if categories.theme and list_type != 'audiobooks' %}
88 <h2>{% trans "Motifs and themes" %}</h2>
89 {% plain_list categories.theme choice=tags list_type=list_type %}
95 {% if tag.category != 'set' %}
96 <h2>{% trans tag.category as c %}{{ c|capfirst }}: {{ tag }}</h2>
97 <div class="white-box">
98 {% if tag.has_description %}
99 {{ tag.description|safe }}
101 <em>{% trans "No description." %}</em>
105 {% if tag.gazeta_link %}
106 <div class="white-box"><a href="{{ tag.gazeta_link }}">
107 {{ tag }} {% trans "in Lektury.Gazeta.pl" %}
110 {% if tag.wiki_link %}
111 <div class="white-box">
112 <a href="{{ tag.wiki_link }}">
113 {{ tag }} {% trans "in Wikipedia" %}
116 {% if tag.culturepl_link %}
117 <div class="white-box">
118 <a href="{{ tag.culturepl_link }}">
119 {{ tag }} {% trans "in Culture.pl" %}