expoweb/troggle/templates/personindex.html
2008-10-27 01:36:06 +01:00

27 lines
722 B
HTML

{% 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 %}