X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..69d9738d6855e38869678a54991d30e5cddb8e67:/src/catalogue/templates/catalogue/image_detail.html diff --git a/src/catalogue/templates/catalogue/image_detail.html b/src/catalogue/templates/catalogue/image_detail.html old mode 100755 new mode 100644 index 8ad2a63f..e3902b89 --- a/src/catalogue/templates/catalogue/image_detail.html +++ b/src/catalogue/templates/catalogue/image_detail.html @@ -1,39 +1,52 @@ {% extends "catalogue/base.html" %} {% load book_list i18n %} +{% load bootstrap4 %} {% block titleextra %}{{ object.title }}{% endblock %} {% block content %} +
- +

{{ object.title }}

+
+
{% if editable %}
{% csrf_token %}{% endif %} - - {{ form.as_table }} + {% bootstrap_form form %} {% if editable %} - + {% buttons %} + + {% endbuttons %} {% endif %}
{% if editable %}
{% endif %} +
+
-
+
+

{% trans "Editor" %}

+
+
-
- +
+

{% trans "Publication" %}

+
+

{% trans "Last published" %}: {% if object.last_published %} @@ -58,7 +71,7 @@ {% else %} - {% trans "Log in to publish." %} + {% trans "Log in to publish." %} {% endif %} {% else %}

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

@@ -66,6 +79,7 @@ {% endif %}
+
{% endblock content %}