X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c26ab6ee15974c1133a6d08c459b51199185f25f..b7f60fe7a944bbd0582896684fa09e02600a012d:/apps/picture/templates/picture/picture_short.html diff --git a/apps/picture/templates/picture/picture_short.html b/apps/picture/templates/picture/picture_short.html index 1f6a4c0e0..881dcfe21 100644 --- a/apps/picture/templates/picture/picture_short.html +++ b/apps/picture/templates/picture/picture_short.html @@ -1,42 +1,81 @@ {% load i18n %} {% load thumbnail %} -
-
- - {% thumbnail picture.image_file "216x288" as thumb %} - - {% endthumbnail %} - -
-
-
- {% for author in tags.author %} - {{ author }} - {% endfor %} +{% load catalogue_tags social_tags %} +{% load picture_tags %} +
+
+ +
+ +
+
+ {% for tag in tags.author %} + {{ tag }}{% if not forloop.last %}, + {% endif %}{% endfor %}
-
{{ picture.title }}
+
+ + + +
+ {% block picture-view %} + {% if main_link %}{% endif %} + {% thumbnail picture.image_file "216x288" crop="center" as thumb %} + + {% endthumbnail %} + {% if main_link %}{% endif %} + {% endblock %} + {# what about licensing icons here #} +
+
{% spaceless %} - {% trans "Epoch" %}:  - - {% for tag in tags.epoch %} - {{ tag.name }} + + {% trans "Epoch" %}:  + {% for tag in tags.epoch %} + {{ tag }} + {% if not forloop.last %}, {% endif %} + {% endfor %} + + + + {% trans "Kind" %}:  + {% for tag in tags.kind %} + {{ tag }} + {% if not forloop.last %}, {% endif %} {% endfor %} - + - {% trans "Kind" %}:  - - {% for tag in tags.kind %} - {{ tag.name }} + + {% trans "Genre" %}:  + {% for tag in tags.genre %} + {{ tag }} + {% if not forloop.last %}, {% endif %} {% endfor %} - + {% endspaceless %}
-