X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..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 28a96b831..f6b917228 --- a/src/catalogue/templates/catalogue/recent_list.html +++ b/src/catalogue/templates/catalogue/recent_list.html @@ -1,4 +1,4 @@ -{% extends "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 %} -

{% trans "Recent publications" %}

+{% 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 %} -

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

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

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