diff options
Diffstat (limited to 'templates/personindex.html')
-rw-r--r-- | templates/personindex.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/personindex.html b/templates/personindex.html new file mode 100644 index 0000000..45591e6 --- /dev/null +++ b/templates/personindex.html @@ -0,0 +1,26 @@ +{% extends "base.html" %}
+{% load wiki_markup %}
+
+{% block title %}Person Index{% endblock %}
+
+{% block content %}
+{% for person in persons %}
+ <div class="personblock"><a href="/person/{{person.id}}">{{person}}</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="/logbook/{{persontrip.logbookentry.id}}">{{persontrip.date}}</a>
+ {% endfor %}
+ </div>
+ </td></tr></table>
+ </li>
+ {% endfor %}
+ </ul>
+</div>
+{% endfor %}
+{% endblock %}
|