Fixes #3211, fixes #3211: related books and pictures bars.
[wolnelektury.git] / apps / picture / templates / picture / picture_wide.html
index 28cd34f..e2fab8c 100644 (file)
@@ -1,14 +1,14 @@
 {% extends "picture/picture_short.html" %}
 {% load i18n %}
 {% load picture_tags thumbnail %}
-{% load cite_promo from social_tags %}
 
 
 {% block box-class %}book-wide-box{% endblock %}
 
 {% block picture-view %}
-{% thumbnail picture.image_file "535" upscale="false" as thumb %}
-<img class="cover" src="{{thumb.url}}"/>
+<a href="{{ main_link }}">
+{% thumbnail picture.image_file "535" upscale=0 as thumb %}
+<img class="cover" src="{{thumb.url}}"/></a>
 {% endthumbnail %}
 {% endblock %}