X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/11da42218788b63ed80889402adeba451abf8367..b514aaf64611d858f73ac7cd23f96205ed711930:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 95c2c3e87..4700cf109 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 %} @@ -39,25 +39,31 @@ {% 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 %} @@ -97,7 +103,7 @@

    Motywy w utworze

    {% endif %}