X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1959361810afbb5f1de88b7d717da32979c7235d..f3ee4c1bfbf4e3856268fa79c63465f591f3499e:/src/catalogue/templates/catalogue/book_text.html diff --git a/src/catalogue/templates/catalogue/book_text.html b/src/catalogue/templates/catalogue/book_text.html index 421d439fe..52f281b05 100644 --- a/src/catalogue/templates/catalogue/book_text.html +++ b/src/catalogue/templates/catalogue/book_text.html @@ -151,18 +151,17 @@
- {% if translators.0 != 'tÅumacz nieznany' %} + {% if book.translators.exists %} +
+ {% for translator in book.translators.all %} + {% if forloop.first and translator.name != 'tÅumacz nieznany' %} {% trans "tÅum." %} {% endif %} - {% for translator in translators %} - {{ translator }}{% if not forloop.last %}, {% endif %} - {% endfor %} -
- {% endif %} - {% endwith %} + + {{ translator }}{% if not forloop.last %}, {% endif %} + {% endfor %} + + {% endif %}