X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f1c330e555c24deb17b7d6018b59c52dab7aafd..4a3fcc0f4c9b674bc294b00fb5f375c958787c99:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index ff9278030..7cf24486c 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load catalogue_tags %} +{% load catalogue_tags pagination_tags %} {% block title %}Lektura {{ book.title }} w WolneLektury.pl{% endblock %} @@ -27,12 +27,7 @@ {% block body %}

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

-
    - {# {% for tag in tags %} #} - {#
  1. {{ tag }} | x
  2. #} - {# {% endfor %} #} -
  3. {{ book.title }} | x
  4. -
+

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

@@ -44,64 +39,75 @@ {% 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 %}
    -

    O utworze

    - - {% if categories.theme %} -

    Motywy w utworze

    +
    +

    O utworze

    - {% endif %} +
    +
    + {% if categories.theme %} +

    Motywy w utworze

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