fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes
[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
1fc8b7b
..
4494eff
100644
(file)
--- a/
src/catalogue/templates/catalogue/catalogue.html
+++ b/
src/catalogue/templates/catalogue/catalogue.html
@@
-1,21
+1,22
@@
-{% extends
"
base.html" %}
+{% extends
request.EXPERIMENTS.layout|yesno:"2022/base.html,base/
base.html" %}
{% load i18n %}
{% load i18n %}
-{% load catalogue_tags %}
+{% load catalogue_tags
reporting_stats
%}
{% block titleextra %}{% trans "Catalogue" %}{% endblock %}
{% block bodyid %}catalogue-catalogue{% endblock %}
{% block titleextra %}{% trans "Catalogue" %}{% endblock %}
{% block bodyid %}catalogue-catalogue{% endblock %}
-{% block body %}
- <h1>{% trans "All works" %}</h1>
+{% block body %}{% block main %}
+ <h1>{% trans "All works" %}</h1>
+ <div class="normal-text catalogue-catalogue l-container">
+ <p>W naszej bibliotece mamy {% count_books %} utworów zebranych w {% count_books_root %} tomów.</p>
-
- <div class="normal-text catalogue-catalogue">
-
- <p><a href="{% url 'reporting_catalogue_pdf' %}">
+ <p>
+ <a href="{% url 'reporting_catalogue_pdf' %}">
{% trans "Download the catalogue in PDF format." %}
{% trans "Download the catalogue in PDF format." %}
- </a></p>
+ </a>
+ </p>
<h2>{% trans "Literature" %}</h2>
{% plain_list books by_author=True paged=False initial_blocks=True %}
<h2>{% trans "Literature" %}</h2>
{% plain_list books by_author=True paged=False initial_blocks=True %}
@@
-23,9
+24,7
@@
<h2>{% trans "Collections" %}</h2>
{% plain_list collections paged=False %}
<h2>{% trans "Collections" %}</h2>
{% plain_list collections paged=False %}
- <h2>{% trans "
Gallery
" %}</h2>
+ <h2>{% trans "
Art
" %}</h2>
{% plain_list pictures by_author=True paged=False initial_blocks=True %}
{% plain_list pictures by_author=True paged=False initial_blocks=True %}
-
-
- </div>
-{% endblock %}
+ </div>
+{% endblock %}{% endblock %}