X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f1c330e555c24deb17b7d6018b59c52dab7aafd..03819cbf7cedde10e27d18068070c14ca37ff6e8:/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 }}