X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/a4f5747875aa0fb598e69d2200ef431c2fb7f1e9..ae2a8df21e1038038cf898eb5a9d09b9ecc33f8f:/src/cover/templates/cover/image_detail.html?ds=sidebyside diff --git a/src/cover/templates/cover/image_detail.html b/src/cover/templates/cover/image_detail.html index 4b8f73f7..c357ff0e 100644 --- a/src/cover/templates/cover/image_detail.html +++ b/src/cover/templates/cover/image_detail.html @@ -1,53 +1,89 @@ {% extends "documents/base.html" %} -{% load i18n %} +{% load i18n l10n %} {% load thumbnail %} {% load build_absolute_uri from fnp_common %} +{% load bootstrap4 %} {% block titleextra %}{% trans "Cover image" %}{% endblock %} {% block content %} -

{% trans "Cover image" %}

+

{% trans "Cover image" %}

+
+
-
- - -
{{ object.title }} by {{ object.author }}, - {% if object.license_url %}{% endif %} - {{ object.license_name }} - {% if object.license_url %}{% endif %} -
-{% 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 %} - - - +<dc:relation.coverImage.attribution xmlns:dc="http://purl.org/dc/elements/1.1/">{{ object.attribution }}</dc:relation.coverImage.attribution> +<dc:relation.coverImage.source xmlns:dc="http://purl.org/dc/elements/1.1/">{{ object.get_full_url }}</dc:relation.coverImage.source> + +
+
+

{% trans "Used in:" %}

+
+
+ {% if object.book_set.exists %} +
    + {% for book in object.book_set.all %} +
  • + + {{ book }} + +
  • + {% endfor %} +
+ {% else %} +

{% trans "None" %}

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