X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f1c330e555c24deb17b7d6018b59c52dab7aafd..dd48571cf22a0c124b382a1c26f25204aefd05f3:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index e6a3748b8..8b36718e0 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,11 +1,18 @@ +{% load i18n %}
- Półki + {% trans "Put on the shelf!" %}
-
+ {% if book.children.all|length %} +
+ {% else %} +
+ {% endif %}

{{ book.title }}

-

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

-

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

+ {% if formats %} +

{% trans "Jump to" %}: {{ formats|join:", " }}

+ {% endif %} +

{% trans "Categories" %}: {{ tags|join:", " }}

-
+ \ No newline at end of file