X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f59e7c3de6bd0f85a61a4d9481db60cd7369ae92..c7587605ff2117ff1004239f8ec0cbd024cdc4ab:/wolnelektury/templates/catalogue/audiobook_list.html diff --git a/wolnelektury/templates/catalogue/audiobook_list.html b/wolnelektury/templates/catalogue/audiobook_list.html index d794cd938..427f89934 100644 --- a/wolnelektury/templates/catalogue/audiobook_list.html +++ b/wolnelektury/templates/catalogue/audiobook_list.html @@ -1,5 +1,6 @@ {% extends "catalogue/book_list.html" %} {% load i18n %} +{% load catalogue_tags %} {% block bodyid %}book-a-list{% endblock %} @@ -19,3 +20,17 @@ Możecie z niej korzystać bezpłatnie i bez ograniczeń. Audiobooki nagrywają znani aktorzy, wśród nich Danuta Stenka i Jan Peszek.{% endblocktrans %}

{% endblock %} + + +{% block book_list %} + {% audiobook_tree orphans books_by_parent %} + {% for author, group in books_by_author.items %} + {% if group %} + +
+

{{ author }}

+ {% audiobook_tree group books_by_parent %} +
+ {% endif %} + {% endfor %} +{% endblock %}