X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e90ee714cc724f21519efa3499dd71d03bb44db0..23025f539214ffbd82a597d4a1d70808d6e59f31:/wolnelektury/templates/catalogue/book_text.html
diff --git a/wolnelektury/templates/catalogue/book_text.html b/wolnelektury/templates/catalogue/book_text.html
index 61ca7f3fb..a6aa19e1d 100644
--- a/wolnelektury/templates/catalogue/book_text.html
+++ b/wolnelektury/templates/catalogue/book_text.html
@@ -1,15 +1,74 @@
+{% load i18n %}
{% load chunks compressed catalogue_tags %}
- {% block title %}WolneLektury.pl{% endblock %}
-
+ {% trans "Wolne Lektury" %} :: {{ book.pretty_title }}
+
{% compressed_css "book" %}
- {% compressed_js "all" %}
+
+ {% compressed_js "book" %}
+
+
- {% for chunk in book.html_file.chunks %}{{ chunk|safe }}{% endfor %}
+
+
+ {% book_info book %}
+
+
+
+ {% if book.pdf_file %}
+ - PDF {% trans "to print" %}
+ {% endif %}
+ {% if book.epub_file %}
+ - EPUB {% trans "for a reader" %}
+ {% endif %}
+ {% if book.mobi_file %}
+ - MOBI {% trans "for Kindle" %}
+ {% endif %}
+ {% if book.txt_file %}
+ - TXT {% trans "for advanced usege" %}
+ {% endif %}
+ - {% trans "Download a custom PDF" %}
+
+
+
+
+
+ {% for theme, fragments in book_themes %}
+ - {{ theme }}:
+ {% for fragment in fragments %}
+ {{ forloop.counter }}
+ {% endfor %}
+
+ {% endfor %}
+
+
+ {{ book.html_file.read|safe }}
+ {{ piwik_tag|safe }}
+
+