diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-15 03:29:19 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-15 03:29:19 +0100 |
commit | d8a215a575ec6e6b332dc8db26c81a8bfb20264f (patch) | |
tree | 2b01837954d7306ab5281f135fa23d97933e087c /templates/object_list.html | |
parent | 118d132797a89bb3bebbf96daceb5cbd912c735c (diff) | |
download | troggle-d8a215a575ec6e6b332dc8db26c81a8bfb20264f.tar.gz troggle-d8a215a575ec6e6b332dc8db26c81a8bfb20264f.tar.bz2 troggle-d8a215a575ec6e6b332dc8db26c81a8bfb20264f.zip |
[svn] Add: new generic object list template object_list.html, and convenience filter named "link" for making links from objects, and make expeditions list page using those two. Also, fixed survey parsing in databaseReset.py
Diffstat (limited to 'templates/object_list.html')
-rw-r--r-- | templates/object_list.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/object_list.html b/templates/object_list.html new file mode 100644 index 0000000..4021ad2 --- /dev/null +++ b/templates/object_list.html @@ -0,0 +1,15 @@ +{% extends "base.html" %}
+{% load link %}
+{% block title %}Troggle: all {{object_list.1.meta.object_name}} objects{%endblock%}
+
+{% block contentheader %}
+<h1>All {{object_list.0.object_name}} objects</h1>
+{% endblock contentheader %}
+
+{% block content %}
+ <ul>
+ {% for object in object_list %}
+ | {{ object|link }}
+ {% endfor %} |
+ </ul>
+{% endblock content %}
\ No newline at end of file |