X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3726f9b225fb5c39cbf067f53d4cf6f7d8a9f326..82c3054bcdeb000aa9782da80d644070797b5cbe:/apps/picture/templates/picture/picture_mini_box.html diff --git a/apps/picture/templates/picture/picture_mini_box.html b/apps/picture/templates/picture/picture_mini_box.html index 5df989e05..d8ebbf77b 100644 --- a/apps/picture/templates/picture/picture_mini_box.html +++ b/apps/picture/templates/picture/picture_mini_box.html @@ -1,21 +1,23 @@ +{% spaceless %} {% load thumbnail %}
- - {% if picture.cover %} - {{ author_str }} – {{ book.title }} +
+ {% if with_link %} + + {% endif %} + {% if picture.image_file %} + {{ author_str }} – {{ picture.title }} {% endif %}
{{ author_str }} - {{ book.title }} + {{ picture.title }}
+ {% if with_link %}
+ {% endif %} +
+{% endspaceless %} \ No newline at end of file