X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ec3ed54f52c0551fab881e2fa6009cdd6469559f..ff423b25bc07b9d248b3f6c0e5b7ae0c0220a19b:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 22c09cb13..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 %} @@ -40,7 +40,7 @@
- {% 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 %}