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 "Comments" %}

+

{% trans "Editor" %}

- {% render_comment_list for object %} - {% with object.get_absolute_url as next %} - {% render_comment_form for object %} - {% endwith %} +

{% trans "Proceed to the editor." %}

+ + +
+ + +

{% trans "Publication" %}

+ +

{% trans "Last published" %}: + {% if object.last_published %} + {{ object.last_published }} + {% else %} + — + {% endif %} +

+ +{% if publishable %} + {% if user.is_authenticated %} + +
{% csrf_token %} + + + +
+ {% else %} + {% trans "Log in to publish." %} + {% endif %} +{% else %} +

{% trans "This book can't be published yet, because:" %}

+ +{% endif %} + +
+ + {% endblock content %}