{% extends "base.html" %}
{% load i18n %}
-{% load catalogue_tags %}
+{% load catalogue_tags reporting_stats %}
-{% block titleextra %}{% trans "Catalogue" %}{% endblock %}
+{% block titleextra %}{% trans "Katalog" %}{% endblock %}
{% block bodyid %}catalogue-catalogue{% endblock %}
-{% block body %}
- <h1>{% trans "All works" %}</h1>
-
-
- <div class="normal-text catalogue-catalogue">
-
- <p><a href="{% url 'reporting_catalogue_pdf' %}">
- {% trans "Download the catalogue in PDF format." %}
- </a></p>
-
- <h2>{% trans "Literature" %}</h2>
- {% plain_list books by_author=True paged=False %}
-
- <h2>{% trans "Collections" %}</h2>
+{% block body %}{% block main %}
+ <h1>{% trans "Wszystkie utwory" %}</h1>
+ <div class="normal-text catalogue-catalogue l-container">
+ <p>
+ {% count_books as nbooks %}
+ {% count_books_root as ntomes %}
+ {% blocktrans trimmed %}
+ W naszej bibliotece mamy {{ nbooks }} utworów zebranych w {{ ntomes }} tomów.
+ {% endblocktrans %}
+ </p>
+
+ <p>
+ <a href="{% url 'reporting_catalogue_pdf' %}">
+ {% trans "Pobierz katalog w formacie PDF." %}
+ </a>
+ </p>
+
+ <h2>{% trans "Literatura" %}</h2>
+ {% plain_list books by_author=True paged=False initial_blocks=True %}
+
+ <h2>{% trans "Kolekcje" %}</h2>
{% plain_list collections paged=False %}
- <h2>{% trans "Gallery" %}</h2>
- {% plain_list pictures by_author=True paged=False %}
-
-
- </div>
-{% endblock %}
+ <h2>{% trans "Sztuka" %}</h2>
+ {% plain_list pictures by_author=True paged=False initial_blocks=True %}
+ </div>
+{% endblock %}{% endblock %}