X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/82fa12952975d2857e2eb02d66a7f133fd4d5e2e..b0e9c6c69f15abf3946e5f4416e5a4af06a52245:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index e6b5eb001..a61396af3 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,32 +1,13 @@ {% extends "base.html" %} -{% load catalogue_tags %} +{% load catalogue_tags pagination_tags %} {% block title %}Lektura {{ book.title }} w WolneLektury.pl{% endblock %} {% block bodyid %}book-detail{% endblock %} -{% block extrahead %} - -{% endblock %} - {% block body %}

{{ book.title }}, {{ categories.author|join:", " }}

-
+

{{ form.q }} lub wróć do strony głównej

@@ -38,29 +19,34 @@

Zwiń opis ▲

{% endif %}
- +
- {% if book.children.all %} + {% if book_children %} + {% autopaginate book_children 10 %}
-

Utwory składające się na ten utwór:

- {% for book in book.children.all %} -
  • {{ book.title }}
  • +
      + {% for book in book_children %} +
    1. {{ book.short_html }}
    2. {% endfor %} +
    + {% paginate %} {% endif %} @@ -100,11 +86,17 @@

    Motywy w utworze

    {% endif %}
    +
    +
    Zamknij
    +
    +

    * Ładowanie

    +
    +
    {% endblock %} \ No newline at end of file