X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/82fa12952975d2857e2eb02d66a7f133fd4d5e2e..cd678a14c6c7b26c5035a1167dd1e6c7bce3656b:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 7f93a592b..41d3212f3 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -2,14 +2,16 @@
- {% if book.children %} + {% if book.children.all|length %} {% else %} {% endif %}Na skróty: {{ formats|join:", "|safe }}
+ {% if formats %} +Na skróty: {{ formats|join:", "|safe }}
+ {% endif %}Utwór w kategoriach: {{ tags|join:", "|safe }}