X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/87bd94a94dc6cc3dbf47db2bdd17761b3f400138..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 ee053d57..caa3de52 100644 --- a/src/documents/templates/documents/book_detail.html +++ b/src/documents/templates/documents/book_detail.html @@ -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 %}