fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Layout fixes, cover update for files.
[wolnelektury.git]
/
src
/
catalogue
/
templates
/
catalogue
/
recent_list.html
diff --git
a/src/catalogue/templates/catalogue/recent_list.html
b/src/catalogue/templates/catalogue/recent_list.html
index
f0fadb3
..
70a5f5c
100644
(file)
--- a/
src/catalogue/templates/catalogue/recent_list.html
+++ b/
src/catalogue/templates/catalogue/recent_list.html
@@
-1,22
+1,32
@@
-{% extends "
base
/base.html" %}
+{% extends "
2022
/base.html" %}
{% load i18n %}
{% load catalogue_tags %}
{% load i18n %}
{% load catalogue_tags %}
-{% block titleextra %}{% trans "Recent publications" %}{% endblock %}
-
-{% block bodyid %}recent-list{% endblock %}
+{% block settings %}
+ {% load title %}
+ {% trans "Recent publications" as title %}
+ {% title title %}
+{% endblock %}
-{% block body %}
- <h1>{% trans "Recent publications" %}</h1>
+{% block main %}
+ <div class="l-article__title">
+ <h1>{% trans "Recent publications" %}</h1>
+ </div>
{% url 'recent_audiobooks_list' as a %}
{% url 'recent_daisy_list' as d %}
{% url 'recent_audiobooks_list' as a %}
{% url 'recent_daisy_list' as d %}
- <p class='normal-text'>
+ <div class="l-main">
+ <p>
{% blocktrans %}You can also see <a href="{{a}}">recent audiobooks</a>
{% blocktrans %}You can also see <a href="{{a}}">recent audiobooks</a>
- and <a href="{{d}}">recent DAISY files</a>.{% endblocktrans %}
+
and <a href="{{d}}">recent DAISY files</a>.{% endblocktrans %}
</p>
</p>
+ </div>
- <div id="books-list">
- {% work_list object_list %}
+ <div class="l-section l-section--col">
+ <div class="l-books__grid" id="book-list">
+ {% for book in object_list %}
+ {% include "catalogue/2022/book_box.html" %}
+ {% endfor %}
+ </div>
</div>
{% endblock %}
</div>
{% endblock %}