X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f82fa14e5f5b02994272fc0b588e557d5be6f2a4..3c0e373447323b5e33b273859e790a2054771afa:/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 308318161..4f590ce79 100644 --- a/src/catalogue/templates/catalogue/book_detail.html +++ b/src/catalogue/templates/catalogue/book_detail.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "base/base.html" %} {% load i18n %} {% load common_tags catalogue_tags %} {% load ssify %} @@ -13,68 +13,71 @@ {% block bodyid %}book-detail{% endblock %} {% block body %} - -{% ssi_include 'catalogue_book_wide' pk=book.pk %} - -{% work_list book_children %} - -{% spaceless %} -{% if book.other_versions %} -
-

{% trans "Other versions" %}:

-{% for rel in book.other_versions %} - {% cache 86400 book_mini_box rel.pk %} - {% include 'catalogue/book_mini_box.html' with book=rel %} - {% endcache %} - {#% ssi_include 'catalogue_book_mini' pk=rel.pk %#} -{% endfor %} -
-{% endif %} - -
-

{% trans "See also" %}:

-{% related_books book taken=book.other_versions|length %} -
-{% endspaceless %} - - - -{% with book.related_themes as themes %} -{% if themes %} -

{% trans "Themes" %}

- {% plain_list themes book=book %} -{% endif %} -{% endwith %} - - - -

{% trans "Information about the work" %}

-{% for tag in tags %} -
- + {% ssi_include 'catalogue_book_wide' pk=book.pk %} + + {% work_list book_children %} + + {% spaceless %} + {% if book.other_versions %} +
+

{% trans "Other versions" %}:

+ {% for rel in book.other_versions %} + {% cache 86400 book_mini_box rel.pk %} + {% include 'catalogue/book_mini_box.html' with book=rel %} + {% endcache %} + {#% ssi_include 'catalogue_book_mini' pk=rel.pk %#} + {% endfor %} +
+ {% endif %} + +
+

{% trans "See also" %}:

+ {% related_books book taken=book.other_versions|length %} +
+ {% endspaceless %} + + {% with book.related_themes as themes %} + {% if themes %} +

{% trans "Themes" %}

+ {% plain_list themes book=book %} + {% endif %} + {% endwith %} + + +

{% trans "Information about the work" %}

+ {% for tag in tags %} +
+ {% ssi_include 'catalogue_tag_box' pk=tag.pk %} - -
-{% endfor %} - - - {% if extra_info.source_url %} -
{% trans "Source" %} {% trans "of the book" %} - {% trans "in" %} {% source_name extra_info.source_url %}
- {% endif %} -
{% trans "Source XML file" %}
- {% if extra_info.about and not hide_about %} -
{% trans "Book on" %} {% trans "Editor's Platform" %}
- {% endif %} - {% if book.gazeta_link %} -
{% trans "Book description on Lektury.Gazeta.pl" %}
- {% endif %} - {% if book.wiki_link %} -
{% trans "Book description on Wikipedia" %}
- {% endif %} -
{% trans "Mix this book" %}
- - - + +
+ {% endfor %} + + + {% if extra_info.source_url %} +
+ {% trans "Source" %} {% trans "of the book" %} + {% trans "in" %} {% source_name extra_info.source_url %} +
+ {% endif %} +
{% trans "Source XML file" %}
+ {% if extra_info.about and not hide_about %} +
+ {% trans "Book on" %} {% trans "Editor's Platform" %} +
+ {% endif %} + {% if book.gazeta_link %} +
+ {% trans "Book description on Lektury.Gazeta.pl" %} +
+ {% endif %} + {% if book.wiki_link %} +
+ {% trans "Book description on Wikipedia" %} +
+ {% endif %} +
+ {% trans "Mix this book" %} +
{% endblock %}