fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes #3211, fixes #3211: related books and pictures bars.
[wolnelektury.git]
/
apps
/
picture
/
templates
/
picture
/
picture_detail.html
diff --git
a/apps/picture/templates/picture/picture_detail.html
b/apps/picture/templates/picture/picture_detail.html
index
a3cbf7d
..
514f8c3
100644
(file)
--- a/
apps/picture/templates/picture/picture_detail.html
+++ b/
apps/picture/templates/picture/picture_detail.html
@@
-2,7
+2,7
@@
{% load i18n %}
{% load picture_tags catalogue_tags pagination_tags %}
{% load thumbnail %}
{% load i18n %}
{% load picture_tags catalogue_tags pagination_tags %}
{% load thumbnail %}
-{% load build_absolute_uri from
common_tags
%}
+{% load build_absolute_uri from
fnp_common
%}
{% block ogimage %}{% thumbnail picture.image_file "535" upscale="false" as thumb %}{{ thumb.url|build_absolute_uri:request }}{% endthumbnail %}{% endblock %}
{% block ogimage %}{% thumbnail picture.image_file "535" upscale="false" as thumb %}{{ thumb.url|build_absolute_uri:request }}{% endthumbnail %}{% endblock %}
@@
-14,4
+14,13
@@
{% block body %}
{% picture_wide picture %}
{% block body %}
{% picture_wide picture %}
+
+{% spaceless %}
+
+<section class="see-also" style="display: inline-block;">
+<h1>{% trans "See also" %}:</h1>
+{% related_books picture %}
+</section>
+{% endspaceless %}
+
{% endblock %}
{% endblock %}