X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/47fb67f3c824094213cd33ebebf8e70ec149b783..0391a911d5a3f1cd083f41ddcd3c4fa90d1d6af2:/apps/catalogue/templates/catalogue/image_detail.html diff --git a/apps/catalogue/templates/catalogue/image_detail.html b/apps/catalogue/templates/catalogue/image_detail.html index fea775b4..8ad2a63f 100755 --- a/apps/catalogue/templates/catalogue/image_detail.html +++ b/apps/catalogue/templates/catalogue/image_detail.html @@ -1,5 +1,9 @@ {% extends "catalogue/base.html" %} -{% load book_list comments i18n %} +{% load book_list i18n %} + + +{% block titleextra %}{{ object.title }}{% endblock %} + {% block content %} @@ -17,13 +21,51 @@ {% if editable %}{% endif %} +
{% trans "Last published" %}: + {% if object.last_published %} + {{ object.last_published }} + {% else %} + — + {% endif %} +
+ +{% if publishable %} + {% if user.is_authenticated %} + + + {% else %} + {% trans "Log in to publish." %} + {% endif %} +{% else %} +{% trans "This book can't be published yet, because:" %}
+