fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes #3506: active picture links.
[wolnelektury.git]
/
apps
/
picture
/
templates
/
picture
/
picture_wide.html
diff --git
a/apps/picture/templates/picture/picture_wide.html
b/apps/picture/templates/picture/picture_wide.html
index
28cd34f
..
920a9c0
100644
(file)
--- a/
apps/picture/templates/picture/picture_wide.html
+++ b/
apps/picture/templates/picture/picture_wide.html
@@
-1,14
+1,14
@@
{% extends "picture/picture_short.html" %}
{% load i18n %}
{% load picture_tags thumbnail %}
{% 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 %}
{% block box-class %}book-wide-box{% endblock %}
{% block picture-view %}
+<a href="{{ main_link }}">
{% thumbnail picture.image_file "535" upscale="false" as thumb %}
{% thumbnail picture.image_file "535" upscale="false" as thumb %}
-<img class="cover" src="{{thumb.url}}"/>
+<img class="cover" src="{{thumb.url}}"/>
</a>
{% endthumbnail %}
{% endblock %}
{% endthumbnail %}
{% endblock %}