fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix license info
[wolnelektury.git]
/
src
/
catalogue
/
templates
/
catalogue
/
catalogue.html
diff --git
a/src/catalogue/templates/catalogue/catalogue.html
b/src/catalogue/templates/catalogue/catalogue.html
index
935d232
..
294df77
100644
(file)
--- a/
src/catalogue/templates/catalogue/catalogue.html
+++ b/
src/catalogue/templates/catalogue/catalogue.html
@@
-1,28
+1,36
@@
-{% extends
request.EXPERIMENTS.layout|yesno:"2022/base.html,base/
base.html" %}
+{% extends
"
base.html" %}
{% load i18n %}
{% 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 %}{% block main %}
{% block bodyid %}catalogue-catalogue{% endblock %}
{% block body %}{% block main %}
- <h1>{% trans "
All works
" %}</h1>
+ <h1>{% trans "
Wszystkie utwory
" %}</h1>
<div class="normal-text catalogue-catalogue l-container">
<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' %}">
<p>
<a href="{% url 'reporting_catalogue_pdf' %}">
- {% trans "
Download the catalogue in PDF format
." %}
+ {% trans "
Pobierz katalog w formacie PDF
." %}
</a>
</p>
</a>
</p>
- <h2>{% trans "Literatur
e
" %}</h2>
+ <h2>{% trans "Literatur
a
" %}</h2>
{% plain_list books by_author=True paged=False initial_blocks=True %}
{% plain_list books by_author=True paged=False initial_blocks=True %}
- <h2>{% trans "
Collections
" %}</h2>
+ <h2>{% trans "
Kolekcje
" %}</h2>
{% plain_list collections paged=False %}
{% plain_list collections paged=False %}
- <h2>{% trans "
Art
" %}</h2>
+ <h2>{% trans "
Sztuka
" %}</h2>
{% plain_list pictures by_author=True paged=False initial_blocks=True %}
</div>
{% endblock %}{% endblock %}
{% plain_list pictures by_author=True paged=False initial_blocks=True %}
</div>
{% endblock %}{% endblock %}