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 <p>Na podstawie: {{ book.extra_info.source_name }}</p>
16 {% if book.has_description %}
17 <div id="description">
18 {{ book.description|safe }}
20 <div id="toggle-description"><p>Zwiń opis ▲</p></div>
23 <p class="change-sets">Wrzuć lekturę <span><a href="{% url catalogue.views.book_sets book.slug %}" class="jqm-trigger">na półkę!</a></span></p>
24 <div class="clearboth"></div>
26 {% if book.html_file %}
27 <a href="{% url book_text book.slug %}">Czytaj online</a>
29 {% if book.pdf_file %}
30 <a href="{{ book.pdf_file.url }}">Pobierz plik PDF</a>
32 {% if book.odt_file %}
33 <a href="{{ book.odt_file.url }}">Pobierz plik ODT</a>
35 {% if book.txt_file %}
36 <a href="{{ book.txt_file.url }}">Pobierz plik TXT</a>
41 {% if book_children %}
42 {% autopaginate book_children 10 %}
43 <div id="book-children">
45 {% for book in book_children %}
46 <li>{{ book.short_html }}</li>
61 {% for tag in categories.author %}
62 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
67 {% for tag in categories.epoch %}
68 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
73 {% for tag in categories.kind %}
74 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
79 {% for tag in categories.genre %}
80 <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
83 <li><a href="{{ book.extra_info.about }}">Lektura na wiki projektu</a></li>
84 <li><a href="{{ book.extra_info.source_url }}">Lektura w CBN Polona</a></li>
85 <li><a href="{{ book.xml_file.url }}">Kod źródłowy utworu (XML)</a></li>
88 <div id="themes-list">
89 <h2>Motywy w utworze</h2>
91 {% for theme in book_themes %}
92 <li><a href="{% url book_fragments book.slug,theme.slug %}">{{ theme }} ({{ theme.count }})</a></li>
96 <div class="clearboth"></div>
99 <div class="header"><a href="#" class="jqmClose">Zamknij</a></div>
101 <p><img src="/media/img/indicator.gif" alt="*"/> Ładowanie</p>