fixes
[wolnelektury.git] / src / catalogue / templates / catalogue / catalogue.html
1 {% extends request.EXPERIMENTS.layout|yesno:"2022/base.html,base/base.html" %}
2 {% load i18n %}
3 {% load catalogue_tags reporting_stats %}
4
5
6 {% block titleextra %}{% trans "Catalogue" %}{% endblock %}
7
8 {% block bodyid %}catalogue-catalogue{% endblock %}
9
10 {% block body %}{% block main %}
11   <h1>{% trans "All works" %}</h1>
12   <div class="normal-text catalogue-catalogue l-container">
13     <p>W naszej bibliotece mamy {% count_books %} utworów zebranych w {% count_books_root %} tomów.</p>
14
15     <p>
16       <a href="{% url 'reporting_catalogue_pdf' %}">
17         {% trans "Download the catalogue in PDF format." %}
18       </a>
19     </p>
20
21     <h2>{% trans "Literature" %}</h2>
22     {% plain_list books by_author=True paged=False initial_blocks=True %}
23
24     <h2>{% trans "Collections" %}</h2>
25     {% plain_list collections paged=False %}
26
27     <h2>{% trans "Art" %}</h2>
28     {% plain_list pictures by_author=True paged=False initial_blocks=True %}
29   </div>
30 {% endblock %}{% endblock %}