X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..e9263ed76910227deccdce1469b4edda3b833be1:/src/catalogue/templates/catalogue/picture_detail.html diff --git a/src/catalogue/templates/catalogue/picture_detail.html b/src/catalogue/templates/catalogue/picture_detail.html index b8b70c6be..5eeea7f5b 100644 --- a/src/catalogue/templates/catalogue/picture_detail.html +++ b/src/catalogue/templates/catalogue/picture_detail.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "base/base.html" %} {% load i18n %} {% load catalogue_tags pagination_tags %} {% load thumbnail %} @@ -9,86 +9,85 @@ {% block bodyid %}picture-detail{% endblock %} {% block body %} -

{{picture.title}}

+

{{picture.title}}

-
- +
+ + + {% thumbnail picture.image_file "400x500" upscale="false" as im %} + + {% endthumbnail %} - {% thumbnail picture.image_file "400x500" upscale="false" as im %} - - {% endthumbnail %} + {% if picture.info.license %} +

{% trans "Work is licensed under " %} {{ picture.info.license_description }}.

+ {% endif %} +

{% trans "Based on" %}: {{ picture.info.source_name }}

+ {% if picture.info.description %} +
+
{{ picture.info.description|safe }}
+ {#
{{ picture.info.description|safe|truncatewords_html:30 }}
#} +
+

+ {% endif %} +
- {% if picture.info.license %} -

{% trans "Work is licensed under " %} {{ picture.info.license_description }}.

+
+
+

{% trans "Details" %}

+
    +
  • + {% trans "Author" %}: + {% for tag in categories.author %} + {{ tag }}{% if not forloop.last %}, {% endif %} + {% endfor %} +
  • +
  • + {% trans "Epoch" %}: + {% for tag in categories.epoch %} + {{ tag }}{% if not forloop.last %}, {% endif %} + {% endfor %} +
  • +
  • + {% trans "Kind" %}: + {% for tag in categories.kind %} + {{ tag }}{% if not forloop.last %}, {% endif %} + {% endfor %} +
  • +
+

{% trans "Other resources" %}

+ +

{% trans "View XML source" %}

- -
-
-

{% trans "Details" %}

-
    -
  • - {% trans "Author" %}: - {% for tag in categories.author %} - {{ tag }}{% if not forloop.last %}, {% endif %} - {% endfor %} -
  • -
  • - {% trans "Epoch" %}: - {% for tag in categories.epoch %} - {{ tag }}{% if not forloop.last %}, {% endif %} - {% endfor %} -
  • -
  • - {% trans "Kind" %}: - {% for tag in categories.kind %} - {{ tag }}{% if not forloop.last %}, {% endif %} - {% endfor %} -
  • -
-

{% trans "Other resources" %}

- -

{% trans "View XML source" %}

-
-
-

{% trans "Work's themes " %}

- -
-
+
+

{% trans "Work's themes " %}

+
+
+
{% endblock %}