X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3c0e373447323b5e33b273859e790a2054771afa..ea9d7d13a44a6ad6357b1af8c977c27753268521:/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 old mode 100755 new mode 100644 index f0fadb30b..f6b917228 --- a/src/catalogue/templates/catalogue/recent_list.html +++ b/src/catalogue/templates/catalogue/recent_list.html @@ -1,4 +1,4 @@ -{% extends "base/base.html" %} +{% extends request.EXPERIMENTS.layout|yesno:"2022/base.html,base/base.html" %} {% load i18n %} {% load catalogue_tags %} @@ -6,17 +6,27 @@ {% block bodyid %}recent-list{% endblock %} -{% block body %} +{% block body %}{% block main %}

{% trans "Recent publications" %}

{% url 'recent_audiobooks_list' as a %} {% url 'recent_daisy_list' as d %}

{% blocktrans %}You can also see recent audiobooks - and recent DAISY files.{% endblocktrans %} + and recent DAISY files.{% endblocktrans %}

-
- {% work_list object_list %} -
-{% endblock %} + {% if request.EXPERIMENTS.layout %} +
+
+ {% for book in object_list %} + {% include "catalogue/2022/book_box.html" %} + {% endfor %} +
+
+ {% else %} +
+ {% work_list object_list %} +
+ {% endif %} +{% endblock %}{% endblock %}