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>
23 {% if book.html_file %}
24 <li><a href="{% url book_text book.slug %}">Czytaj online</a></li>
26 {% if book.pdf_file %}
27 <li><a href="{{ book.pdf_file.url }}">Pobierz plik PDF</a></li>
29 {% if book.odt_file %}
30 <li><a href="{{ book.odt_file.url }}">Pobierz plik ODT</a></li>
32 {% if book.txt_file %}
33 <li><a href="{{ book.txt_file.url }}">Pobierz plik TXT</a></li>
38 {% if book_children %}
39 {% autopaginate book_children 10 %}
40 <div id="book-children">
42 {% for book in book_children %}
43 <li>{{ book.short_html }}</li>
58 {% for tag in categories.author %}
59 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
64 {% for tag in categories.epoch %}
65 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
70 {% for tag in categories.kind %}
71 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
76 {% for tag in categories.genre %}
77 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
82 <div id="themes-list">
83 {% if categories.theme %}
84 <h2>Motywy w utworze</h2>
86 {% for theme in categories.theme %}
87 <li><a href="{{ theme.get_absolute_url }}">{{ theme }}</a></li>
92 <div class="clearboth"></div>
95 <div class="header"><a href="#" class="jqmClose">Zamknij</a></div>
97 <p><img src="/media/img/indicator.gif" alt="*"/> Ładowanie</p>