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
32 <div id="download-shelf-menu" style="display:none;">
33 <form action="{% url download_shelf last_tag.slug %}" method="get" accept-charset="utf-8" id="download-formats-form" data-formats-feed="{% url shelf_book_formats last_tag.slug %}">
34 <p>Wybierz formaty książek, które chcesz pobrać:</p>
35 <li data-format="pdf"><label for="id_formats_2"><input type="checkbox" name="formats" value="pdf" id="id_formats_2" /> PDF</label> <em><strong>do czytania</strong> i drukowania przy pomocy <a href="http://get.adobe.com/reader/">Adobe Reader</a></em></li>
36 <li data-format="odt"><label for="id_formats_3"><input type="checkbox" name="formats" value="odt" id="id_formats_3" /> ODT</label> <em><strong>do czytania</strong> i edytowania przy pomocy <a href="http://pl.openoffice.org/">OpenOffice.org</a></em></li>
37 <li data-format="txt"><label for="id_formats_4"><input type="checkbox" name="formats" value="txt" id="id_formats_4" /> TXT</label> <em><strong>do czytania</strong> na małych ekranach, np. na komórce</em></li>
38 <li data-format="mp3"><label for="id_formats_0"><input type="checkbox" name="formats" value="mp3" id="id_formats_0" /> MP3</label> <em><strong>do słuchania</strong> w ulubionym odtwarzaczu MP3</em></li>
39 <li data-format="ogg"><label for="id_formats_1"><input type="checkbox" name="formats" value="ogg" id="id_formats_1" /> Ogg Vorbis</label> <em><strong>do słuchania</strong> — otwarty format <a href="http://www.vorbis.com/">Fundacji Xiph.Org</a></em></li>
40 <li id="download-formats-form-submit-li"><label><input type="submit" name="submit" value="Pobierz" id="download-formats-form-submit" disabled="disabled" /> <img src="/static/img/indicator.gif" /></label> <span id="updating-formats">Uaktualniam listę formatów książek na półce.</span><span id="formats-updated" style="display:none;">lub <a href="#" id="download-formats-form-cancel">anuluj</a></span></li>
41 <div class="clearboth"></div>
45 {% if last_tag.gazeta_link %}
46 <p><a href="{{ last_tag.gazeta_link }}">
47 {% ifequal last_tag.category "author" %}Przeczytaj omówienia utworów autora w serwisie Lektury.Gazeta.pl{% endifequal %}
48 {% ifequal last_tag.category "epoch" %}Przeczytaj omówienia z epoki {{ last_tag }} w serwisie Lektury.Gazeta.pl{% endifequal %}
51 {% if last_tag.wiki_link %}
52 <p><a href="{{ last_tag.wiki_link }}">
53 {% ifequal last_tag.category "author" %}Przeczytaj artykuł o autorze w Wikipedii{% endifequal %}
54 {% ifequal last_tag.category "epoch" %}Przeczytaj artykuł o epoce {{ last_tag }} w Wikipedii{% endifequal %}
58 {% for book in object_list %}
60 {% if user_is_owner %}
61 <a href="{% url remove_from_shelf last_tag.slug book.slug %}" class="remove-from-shelf">Usuń</a>
63 {{ book.short_html }}</li>
70 <div id="categories-list">
71 {% if categories.author %}
73 {% tag_list categories.author tags %}
75 {% if categories.kind %}
77 {% tag_list categories.kind tags %}
79 {% if categories.genre %}
80 <h2>Gatunki literackie</h2>
81 {% tag_list categories.genre tags %}
83 {% if categories.epoch %}
85 {% tag_list categories.epoch tags %}
88 <div id="themes-list">
89 {% if categories.theme %}
91 {% tag_list categories.theme tags %}
94 <div class="clearboth"></div>
98 <div class="header"><a href="#" class="jqmClose">Zamknij</a></div>
100 <p><img src="/static/img/indicator.gif" alt="*"/> Ładowanie</p>