X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f1c330e555c24deb17b7d6018b59c52dab7aafd..14f2e79b2ca9b5359ef95988a4a3a5e510df244e:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index e6a3748b8..41d3212f3 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,11 +1,17 @@
- Półki + Na półkę!
-
+ {% if book.children.all|length %} +
+ {% else %} +
+ {% endif %}

{{ book.title }}

-

Formaty: {{ formats|join:", "|safe }}

+ {% if formats %} +

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

+ {% endif %}

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