expoweb/troggle/templates/personindex.html

27 lines
746 B
HTML
Raw Normal View History

2008-10-27 00:36:06 +00:00
{% 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|wiki_to_html_short}}</a>
2008-10-27 00:36:06 +00:00
<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>
2008-10-27 00:36:06 +00:00
{% endfor %}
</div>
</td></tr></table>
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
{% endblock %}