X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8559c95597de98e8f6c580e97224ed3ecc9dc5c0..307e2c65ef1caf8adae53582177912cef6f9ec51:/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