1 {% extends "base.html" %}
2 {% load catalogue_tags pagination_tags %}
4 {% block title %}Lektura {{ book.title }} w WolneLektury.pl{% endblock %}
6 {% block bodyid %}book-detail{% endblock %}
9 <h1>{{ book.title }}, {{ categories.author|join:", " }}</h1>
10 <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
11 <p>{{ form.q }} <input type="submit" value="Szukaj" /> <strong>lub</strong> <a href="{% url main_page %}">wróć do strony głównej</a></p>
15 {% if book.has_description %}
16 <div id="description">
17 {{ book.description|safe }}
19 <div id="toggle-description"><p>Zwiń opis ▲</p></div>
22 <p class="change-sets">Wrzuć cały zbiór <span><a href="{% url catalogue.views.book_sets book.slug %}" class="jqm-trigger">na półkę!</a></span></p>
23 <div class="clearboth"></div>
25 {% if book.html_file %}
26 <a href="{% url book_text book.slug %}">Czytaj online</a>
28 {% if book.pdf_file %}
29 <a href="{{ book.pdf_file.url }}">Pobierz plik PDF</a>
31 {% if book.odt_file %}
32 <a href="{{ book.odt_file.url }}">Pobierz plik ODT</a>
34 {% if book.txt_file %}
35 <a href="{{ book.txt_file.url }}">Pobierz plik TXT</a>
40 {% if book_children %}
41 {% autopaginate book_children 10 %}
42 <div id="book-children">
44 {% for book in book_children %}
45 <li>{{ book.short_html }}</li>
60 {% for tag in categories.author %}
61 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
66 {% for tag in categories.epoch %}
67 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
72 {% for tag in categories.kind %}
73 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
78 {% for tag in categories.genre %}
79 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
84 <div id="themes-list">
85 {% if categories.theme %}
86 <h2>Motywy w utworze</h2>
88 {% for theme in categories.theme %}
89 <li><a href="{{ theme.get_absolute_url }}">{{ theme }}</a></li>
94 <div class="clearboth"></div>
97 <div class="header"><a href="#" class="jqmClose">Zamknij</a></div>
99 <p><img src="/media/img/indicator.gif" alt="*"/> Ładowanie</p>