X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/dbe845386fa136ccb8571e50dadb3c882661a59b..7f9be0da6125390d5374ba3abebdd22921f2d8a3:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 66a39f548..3d4495582 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,29 +1,10 @@ {% 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:", " }}

@@ -39,25 +20,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,10 +84,17 @@

    Motywy w utworze

    {% endif %} +
    + +
    + +
    +

    * Ładowanie

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