X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/87e084d47c335cd6f0b3e91d614999f55d148044..e24e657ebf536f55c1bde66bd41563fae30a98b0:/src/catalogue/templates/catalogue/collections.html diff --git a/src/catalogue/templates/catalogue/collections.html b/src/catalogue/templates/catalogue/collections.html index 1c6987278..bad155bf0 100644 --- a/src/catalogue/templates/catalogue/collections.html +++ b/src/catalogue/templates/catalogue/collections.html @@ -1,22 +1,42 @@ -{% extends "base.html" %} +{% extends 'base.html' %} {% load i18n %} -{% load catalogue_tags %} -{% load ssi_include from ssify %} -{% block titleextra %}{% trans "Collections" %}{% endblock %} - -{% block bodyid %}collections{% endblock %} - -{% block body %} -

{% trans "Collections" %}

- - {% for obj in best %} - {% ssi_include 'catalogue_collection_box' pk=obj.pk %} - {% endfor %} +{% block breadcrumbs %} + {% trans "Katalog" %} +{% endblock %} -

{% trans "All collections" %}

- {% plain_list objects %} +{% block main %} + +
+
+

{% trans "Kolekcje" %}

+
+
+ + + +
+ {% for collection in objects %} +
+
+ +
+ {% for book in collection.get_5_books %} + {% include 'catalogue/book_box.html' %} + {% endfor %} +
+
+
+ {% endfor %} +
{% endblock %}