1 {% extends "base.html" %}
2 {% load catalogue_tags pagination_tags %}
4 {% block title %}{% title_from_tags tags %} w WolneLektury.pl{% endblock %}
6 {% block bodyid %}tagged-object-list{% endblock %}
9 <h1>{% title_from_tags tags %}</h1>
10 {% breadcrumbs tags %}
12 {% if shelf_is_set and not object_list %}
14 <h2>Twoja półka jest pusta</h2>
15 <p>Możesz wrzucić książkę na półkę, wchodząc na stronę danej lektury i klikając na przycisk „Na półkę!”.</p>
18 {% autopaginate object_list 10 %}
20 {% with tags|last as last_tag %}
21 {% if last_tag.has_description %}
22 <div id="description">
23 {{ last_tag.description|safe }}
25 <div id="toggle-description"><p>Zwiń opis ▲</p></div>
28 <a id="download-shelf" href="{% url download_shelf last_tag.slug %}">
29 Pobierz wszystkie książki z tej półki
34 {% for book in object_list %}
35 <li>{{ book.short_html }}</li>
41 <div id="categories-list">
42 {% if categories.author %}
44 {% tag_list categories.author tags %}
46 {% if categories.kind %}
48 {% tag_list categories.kind tags %}
50 {% if categories.genre %}
51 <h2>Gatunki literackie</h2>
52 {% tag_list categories.genre tags %}
54 {% if categories.epoch %}
56 {% tag_list categories.epoch tags %}
59 <div id="themes-list">
60 {% if categories.theme %}
62 {% tag_list categories.theme tags %}
65 <div class="clearboth"></div>
69 <div class="header"><a href="#" class="jqmClose">Zamknij</a></div>
71 <p><img src="/media/img/indicator.gif" alt="*"/> Ładowanie</p>