X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/05f67adb27390c7a9cf214e83550d3bbca88c8f2..ed5df159a03b0c3c0d17f9e7be8d925e9e73f669:/apps/cover/templates/cover/image_detail.html diff --git a/apps/cover/templates/cover/image_detail.html b/apps/cover/templates/cover/image_detail.html index 8ebf988e..cf8f921f 100755 --- a/apps/cover/templates/cover/image_detail.html +++ b/apps/cover/templates/cover/image_detail.html @@ -1,29 +1,57 @@ {% extends "catalogue/base.html" %} {% load i18n %} -{% load build_absolute_uri from common_tags %} +{% load thumbnail %} +{% load build_absolute_uri from fnp_common %} {% block content %}

{% trans "Cover image" %}

-
- +
+ + +
{{ object.title }} by {{ object.author }}, {% if object.license_url %}{% endif %} - {{ object.license_name }} + {{ object.license_name }} {% if object.license_url %}{% endif %}
{% trans "source" %}: {{ object.download_url }}
-
-{% csrf_token %} -{{ form.as_p }} - -
+ +{% if editable %} +
+ {% csrf_token %} +{% endif %} + + {{ form.as_table }} + {% if editable %} + + {% endif %} +
+{% if editable %}
{% endif %} + + +

{% trans "Used in:" %}

+{% if object.book_set %} + +{% else %} +

{% trans "None" %}

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