X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/05c0c86de9498d8f3380768d1669f7044488bc3f..fd8cd1a9e08a5b31819da53d96a6775d31c20748:/src/catalogue/templates/catalogue/book_text.html
diff --git a/src/catalogue/templates/catalogue/book_text.html b/src/catalogue/templates/catalogue/book_text.html
index 19e1fbef7..9d28bd7bc 100644
--- a/src/catalogue/templates/catalogue/book_text.html
+++ b/src/catalogue/templates/catalogue/book_text.html
@@ -1,5 +1,5 @@
{% extends "catalogue/viewer_base.html" %}
-{% load i18n %}
+{% load i18n l10n %}
{% load catalogue_tags %}
{% load chunks %}
{% load thumbnail %}
@@ -9,9 +9,19 @@
{% block title %}{{ book.pretty_title }}{% endblock %}
+{% block extrahead %}
+
+
+{% endblock %}
+
{% block menu %}
-
-
+
+ {% trans "Numbering" %}
+ {% trans "Themes" %}
+ {% trans "Footnotes" %}
+ {% trans "References" %}
+
{% endblock menu %}
@@ -69,6 +83,10 @@
{% if prev %}
← {{ prev.title }}
{% endif %}
+
+ {% content_warning book %}
+
+
{{ book_text|safe }}
{% endwith %}
@@ -80,16 +98,27 @@
{% trans "Please wait..." %}
+
+
+
+
+
{% endblock big-pane %}
{% block footer %}
{% if book.parent %}
- {% for b in book.ancestor.all %}
+ {% for b in book.ancestors %}
{% if forloop.counter > 1 %}
{% endif %}
- {{ b.title }}
+ {{ b.title }}
{% endfor %}
{% for b in book.get_siblings %}
@@ -112,6 +141,11 @@
{% else %}
{{ book.title }}
+
+ {% for c in book.get_children %}
+ - {{ c.title }}
+ {% endfor %}
+
{% endif %}
@@ -139,16 +173,6 @@
{% endif %}
-
-
{% include 'catalogue/book_short.html' %}
@@ -160,4 +184,24 @@
{% include 'annoy/dynamic_insert.html' %}
{% endfor %}
+
+ {% localize off %}
+
+ {% endlocalize %}
{% endblock footer %}