Code layout change.
[wolnelektury.git] / src / picture / templates / picture / picture_detail.html
diff --git a/src/picture/templates/picture/picture_detail.html b/src/picture/templates/picture/picture_detail.html
new file mode 100644 (file)
index 0000000..514f8c3
--- /dev/null
@@ -0,0 +1,26 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% load picture_tags catalogue_tags pagination_tags %}
+{% load thumbnail %}
+{% 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 titleextra %}{{ picture.title }}{% endblock %}
+
+{% block bodyid %}picture-detail{% endblock %}
+
+{% 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 %}