X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8559c95597de98e8f6c580e97224ed3ecc9dc5c0..f7bf1b53894f95a4c27d3063c70ce798f39a6d3b:/templates/catalogue/_book.html diff --git a/templates/catalogue/_book.html b/templates/catalogue/_book.html index 7666b61fe..08cb12c5e 100644 --- a/templates/catalogue/_book.html +++ b/templates/catalogue/_book.html @@ -7,24 +7,7 @@

{{ book.title }}

-

Formaty: - Czytaj online - {% if book.pdf_file %} - Pobierz plik PDF - {% endif %} - {% if book.odt_file %} - ODT - {% endif %} - {% if book.html_file %} - Pobierz plik HTML - {% endif %} -

-

Utwór w kategoriach: - {% for tag in book.tags %} - {% ifnotequal tag.category "set" %} - {{ tag }}{% if not forloop.last %},{% endif %} - {% endifnotequal %} - {% endfor %} -

+

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

+

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

\ No newline at end of file