X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..af43a678694121f8b7c81a52a64d02c1b024fc57:/src/catalogue/templates/catalogue/book_detail.html
diff --git a/src/catalogue/templates/catalogue/book_detail.html b/src/catalogue/templates/catalogue/book_detail.html
index 7e8128fa7..d2bfda7e4 100644
--- a/src/catalogue/templates/catalogue/book_detail.html
+++ b/src/catalogue/templates/catalogue/book_detail.html
@@ -1,8 +1,9 @@
-{% extends "base.html" %}
+{% extends "base/base.html" %}
{% load i18n %}
-{% load common_tags catalogue_tags %}
-{% load ssify %}
+{% load catalogue_tags %}
{% load build_absolute_uri from fnp_common %}
+{% load annoy_banner from annoy %}
+{% load cache %}
{% block titleextra %}{{ book.pretty_title }}{% endblock %}
{% block ogimage %}{% if book.cover %}{{ book.cover.url|build_absolute_uri:request }}{% endif %}{% endblock %}
@@ -11,26 +12,80 @@
{% block bodyid %}book-detail{% endblock %}
+
{% block body %}
+ {% include 'catalogue/book_wide.html' %}
+
+ {% work_list book_children %}
+
+ {% spaceless %}
+ {% if book.other_versions %}
+ {% trans "Other versions" %}:
+ {% for rel in book.other_versions %}
+ {{ rel.mini_box }}
+ {% endfor %}
+ {% trans "See also" %}:
+ {% related_books book taken=book.other_versions|length %}
+