X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/eadb2822a6c87ac0f1ad3e529747c8e2cff14ae7..634abe44a671e272552f0016155211ae91be09de:/src/documents/templates/documents/book_detail.html diff --git a/src/documents/templates/documents/book_detail.html b/src/documents/templates/documents/book_detail.html index 5a3734fe..caa3de52 100644 --- a/src/documents/templates/documents/book_detail.html +++ b/src/documents/templates/documents/book_detail.html @@ -94,9 +94,9 @@ Pobierz okładkę:

@@ -141,16 +141,23 @@ {% if perms.depot.add_legimibookpublish %}
- {% with thema=doc.book_info.thema %} - {% if thema %} + {% with thema_main=doc.book_info.thema_main thema=doc.book_info.thema %} + {% if thema_main or thema %}
{% csrf_token %} {% with llp=book.last_legimi_publish %} {% if llp %} @@ -163,7 +170,7 @@ {% endwith %}
{% else %} -
Nie można opublikować na Legimi, ponieważ nie ustaiono kategorii Thema.
+
Nie można opublikować na Legimi, ponieważ nie ustalono kategorii Thema.
{% endif %} {% endwith %} {% endif %}