basic footnotes dictionary
[wolnelektury.git] / apps / dictionary / templates / dictionary / note_list.html
diff --git a/apps/dictionary/templates/dictionary/note_list.html b/apps/dictionary/templates/dictionary/note_list.html
new file mode 100755 (executable)
index 0000000..7f3b436
--- /dev/null
@@ -0,0 +1,19 @@
+{% extends "base.html" %}
+{% load pagination_tags %}
+
+{% block body %}
+
+
+{% autopaginate object_list 100 %}
+{% paginate %}
+{% for obj in object_list %}
+    <div class='dictionary-note'>
+    {{ obj.html|safe }}
+    <div class='dictionary-note-source'>
+    (<a href='{% url book_text obj.book.slug %}#{{ obj.anchor }}'>{{ obj.book.pretty_title }}</a>)
+    </div>
+    </div>
+{% endfor %}
+{% paginate %}
+
+{% endblock %}