troggle-unchained/templates/person.html
substantialnoninfringinguser 32e1e6b9ab [svn] make the person logbooks work
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8044 by julian @ 10/30/2008 1:13 PM
2009-05-13 05:15:49 +01:00

27 lines
801 B
HTML

{% extends "base.html" %}
{% load wiki_markup %}
{% block title %}Person {{person.id}}{% endblock %}
{% block content %}
<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>
<ul>
{% for persontrip in personexpedition.persontrip_set.all %}
<li><a href="/logbookentry/{{persontrip.logbookentry.id}}">{{persontrip.date}}</a> ({{persontrip.logbookentry.place}}) - {{persontrip.logbookentry.title}}</li>
{% endfor %}
<ul>
</div>
</td></tr></table>
</li>
{% endfor %}
</ul>
</div>
{% endblock %}