Generally working version.
[wolnelektury.git] / src / catalogue / templates / catalogue / collections.html
diff --git a/src/catalogue/templates/catalogue/collections.html b/src/catalogue/templates/catalogue/collections.html
new file mode 100644 (file)
index 0000000..1c69872
--- /dev/null
@@ -0,0 +1,22 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% load catalogue_tags %}
+{% load ssi_include from ssify %}
+
+{% block titleextra %}{% trans "Collections" %}{% endblock %}
+
+{% block bodyid %}collections{% endblock %}
+
+{% block body %}
+    <h1>{% trans "Collections" %}</h1>
+
+    {% for obj in best %}
+        {% ssi_include 'catalogue_collection_box' pk=obj.pk %}
+    {% endfor %}
+
+    <h2>{% trans "All collections" %}</h2>
+    {% plain_list objects %}
+
+
+
+{% endblock %}