summaryrefslogtreecommitdiffstats
path: root/templates/personindex.html
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:35:59 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:35:59 +0100
commitf229ff35f909d7afea62ba2e1021a12cb0e16b22 (patch)
tree2169346dc516829de73d643251746bf262123936 /templates/personindex.html
parentb950ee70f77892463fac87fba2dd9d5ce964accf (diff)
downloadtroggle-f229ff35f909d7afea62ba2e1021a12cb0e16b22.tar.gz
troggle-f229ff35f909d7afea62ba2e1021a12cb0e16b22.tar.bz2
troggle-f229ff35f909d7afea62ba2e1021a12cb0e16b22.zip
[svn] Julian playing with the logbooks and expoyears
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8180 by julian @ 1/18/2009 3:59 PM
Diffstat (limited to 'templates/personindex.html')
-rw-r--r--templates/personindex.html36
1 files changed, 21 insertions, 15 deletions
diff --git a/templates/personindex.html b/templates/personindex.html
index 6d39306..ca8b9b5 100644
--- a/templates/personindex.html
+++ b/templates/personindex.html
@@ -4,23 +4,29 @@
{% block title %}Person Index{% endblock %}
{% block content %}
+
{% for person in persons %}
- <div class="personblock"><a href="/person/{{person.id}}">{{person|wiki_to_html_short}}</a>
- <ul>
- {% for personexpedition in person.personexpedition_set.all %}
- <li>
- <table><tr><td>
- {{personexpedition.expedition}}
- </td><td>
- <div>
- {% for persontrip in personexpedition.persontrip_set.all %}
- <a href="/logbookentry/{{persontrip.logbookentry.id}}">{{persontrip.date}}</a>
- {% endfor %}
- </div>
- </td></tr></table>
- </li>
+<div class="personblock"><a href="{% url person person.href%}">{{person|wiki_to_html_short}}</a>
+<ul>
+{% for personexpedition in person.personexpedition_set.all %}
+ <li>
+
+ <table><tr><td>
+ {{personexpedition.expedition}}
+ </td><td>
+
+ <div>
+ {% for persontrip in personexpedition.persontrip_set.all %}
+ <a href="{% url logbookentry persontrip.logbook_entry.id %}">{{persontrip.date}}</a>
{% endfor %}
- </ul>
+ </div>
+
+ </td></tr></table>
+
+ </li>
+{% endfor %}
+</ul>
</div>
{% endfor %}
+
{% endblock %}