X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8559c95597de98e8f6c580e97224ed3ecc9dc5c0..9ba3ccd2ad2748ed4a1b67187b8e1ac273dc8ee8:/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 @@
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 }}