Layout fixes, cover update for files.
[wolnelektury.git] / src / catalogue / templates / catalogue / recent_daisy_list.html
index fe6be3b..e4f6f69 100644 (file)
@@ -1,25 +1,24 @@
-{% extends request.EXPERIMENTS.layout|yesno:"2022/base.html,base/base.html" %}
+{% extends "2022/base.html" %}
 {% load i18n %}
 {% load catalogue_tags %}
 
-{% block titleextra %}{% trans "Recent DAISY files" %}{% endblock %}
+{% block settings %}
+  {% load title %}
+  {% trans "Recent DAISY files" as title %}
+  {% title title %}
+{% endblock %}
 
-{% block bodyid %}recent-list{% endblock %}
 
-{% block body %}{% block main %}
-  <h1>{% trans "Recent DAISY files" %}</h1>
+{% block main %}
+  <div class="l-article__title">
+    <h1>{% trans "Recent DAISY files" %}</h1>
+  </div>
 
-  {% if request.EXPERIMENTS.layout %}
-    <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 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>
-  {% else %}
-    <div id="books-list">
-      {% work_list object_list %}
-    </div>
-  {% endif %}
-{% endblock %}{% endblock %}
+  </div>
+{% endblock %}