Code layout change.
[wolnelektury.git] / src / catalogue / templates / catalogue / work-list.html
diff --git a/src/catalogue/templates/catalogue/work-list.html b/src/catalogue/templates/catalogue/work-list.html
new file mode 100755 (executable)
index 0000000..3026525
--- /dev/null
@@ -0,0 +1,19 @@
+{% spaceless %}
+
+{% load pagination_tags %}
+{% load class_name from catalogue_tags %}
+{% load ssi_include from ssify %}
+
+{% autopaginate object_list 10 %}
+
+<ol class='work-list'>
+{% for item in object_list %}
+    <li class='{{ item|class_name }}-item'>
+        {% ssi_include item.short_html_url_name pk=item.pk %}
+    </li>
+{% endfor %}
+</ol>
+
+{% paginate %}
+
+{% endspaceless %}