X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6280673f35e13e75e81c5b7821bd2a44a1831eab..357027375ff8867f42ca34bcbfb5a78b5b185fc3:/src/catalogue/templates/catalogue/snippets/audiobook_list.html diff --git a/src/catalogue/templates/catalogue/snippets/audiobook_list.html b/src/catalogue/templates/catalogue/snippets/audiobook_list.html new file mode 100755 index 000000000..d7f599274 --- /dev/null +++ b/src/catalogue/templates/catalogue/snippets/audiobook_list.html @@ -0,0 +1,12 @@ +{% load catalogue_tags %} + +{% 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 %}