X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ea8f84ddca76adc928172a3718468b19c8b4aa15..d7d7e49e08a5648e152bbc91e091af293478629b:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index a94244229..3012069f9 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -2,10 +2,16 @@
Na półkę!
-
+ {% if book.children.all|length %} +
+ {% else %} +
+ {% endif %}

{{ book.title }}

-

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

-

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

+ {% if formats %} +

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

+ {% endif %} +

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