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 class="clearboth"></div>
26 <div id="toggle-description"><p>Zwiń opis ▲</p></div>
29 <a id="download-shelf" href="{% url download_shelf last_tag.slug %}">
30 Pobierz wszystkie książki z tej półki
34 {% for book in object_list %}
36 {% if user_is_owner %}
37 <a href="{% url remove_from_shelf last_tag.slug book.slug %}" class="remove-from-shelf">Usuń</a>
39 {{ book.short_html }}</li>
46 <div id="categories-list">
47 {% if categories.author %}
49 {% tag_list categories.author tags %}
51 {% if categories.kind %}
53 {% tag_list categories.kind tags %}
55 {% if categories.genre %}
56 <h2>Gatunki literackie</h2>
57 {% tag_list categories.genre tags %}
59 {% if categories.epoch %}
61 {% tag_list categories.epoch tags %}
64 <div id="themes-list">
65 {% if categories.theme %}
67 {% tag_list categories.theme tags %}
70 <div class="clearboth"></div>
74 <div class="header"><a href="#" class="jqmClose">Zamknij</a></div>
76 <p><img src="/media/img/indicator.gif" alt="*"/> Ładowanie</p>