X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/373f20f311d78b22849e9529299eddcbefb080bd..87ff3f803d2f147e6fa939a99c4c4a4ca6aa965f:/wolnelektury/templates/catalogue/book_list.html diff --git a/wolnelektury/templates/catalogue/book_list.html b/wolnelektury/templates/catalogue/book_list.html index b6a9e6cbb..a32f60f01 100644 --- a/wolnelektury/templates/catalogue/book_list.html +++ b/wolnelektury/templates/catalogue/book_list.html @@ -1,27 +1,50 @@ -{% load i18n %} {% extends "base.html" %} +{% load i18n %} {% load catalogue_tags chunks %} {% block bodyid %}book-a-list{% endblock %} -{% block title %}{% trans "Alphabetical listing of works on WolneLektury.pl" %}{% endblock %} +{% block titleextra %}{% trans "Listing of all works" %}{% endblock %} {% block body %} -

{% trans "Alphabetical listing of works" %}

-
-

{{ form.q }} {% trans "or" %} {% trans "return to main page" %}

-
- -
- {% for first_letter, group in books_by_first_letter.items %} -
-

{{ first_letter }}

-
    - {% for book in group %} -
  1. {{ book.title }}
  2. - {% endfor %} -
-
+

{% block book_list_header %}{% trans "Listing of all works" %}{% endblock %}

+ +
+ {% block book_list_info %}{% endblock %} +
+ +
+ + + +
+ {% trans "Table of Content" %} + {% for index, authors in books_nav.items %} + {% endfor %}
-{% endblock %} \ No newline at end of file +
+ {% block book_list %} + {% book_tree orphans books_by_parent %} + {% for author, group in books_by_author.items %} + {% if group %} + +
+

{{ author }}

+ {% book_tree group books_by_parent %} +
+ {% endif %} + {% endfor %} + {% endblock %} +
+
+

{% trans "↑ top ↑" %}

+
+{% endblock %}