X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/82fa12952975d2857e2eb02d66a7f133fd4d5e2e..14f2e79b2ca9b5359ef95988a4a3a5e510df244e:/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 @@
Na półkę!
- {% if book.children %} + {% if book.children.all|length %}
{% else %}
{% endif %}

{{ book.title }}

-

Na skróty: {{ formats|join:", "|safe }}

+ {% if formats %} +

Na skróty: {{ formats|join:", "|safe }}

+ {% endif %}

Utwór w kategoriach: {{ tags|join:", "|safe }}