X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/56cde931d184d61118503fe2e158c39c90c4fd69..14f2e79b2ca9b5359ef95988a4a3a5e510df244e:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 332dd337e..31740074c 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,25 +39,32 @@ {% 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 %}
    @@ -107,5 +109,6 @@ {% endif %} +
    {% endblock %} \ No newline at end of file