2009-05-13 05:38:18 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load wiki_markup %}
|
2009-07-03 00:50:56 +01:00
|
|
|
{% load link %}
|
2009-05-13 05:38:18 +01:00
|
|
|
|
|
|
|
{% block title %}Person {{personexpedition.person|wiki_to_html_short}} for {{personexpedition.expedition}}{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h2>{{personexpedition.person}}: {{personexpedition.expedition}} ({{personexpedition.date_from}} - {{personexpedition.date_to}})</h2>
|
|
|
|
|
2009-05-13 05:39:52 +01:00
|
|
|
<h3>{{message}}</h3>
|
|
|
|
|
2009-05-13 05:52:15 +01:00
|
|
|
<p><b><a href="{{ personexpedition.expedition.get_absolute_url }}">Main page for expedition: {{personexpedition.expedition}}</a></b></p>
|
|
|
|
<p><b><a href="{{ personexpedition.person.get_absolute_url }}">Main page for person: {{personexpedition.person}}</a></b></p>
|
2009-05-13 05:43:20 +01:00
|
|
|
|
|
|
|
<p>List of other expos by this person</p>
|
|
|
|
<p>
|
|
|
|
{% for otherpersonexpedition in personexpedition.person.personexpedition_set.all %}
|
|
|
|
{% ifequal otherpersonexpedition personexpedition %}
|
|
|
|
| <b>{{otherpersonexpedition.expedition.year}}</b>
|
|
|
|
{% else %}
|
2009-07-03 00:50:56 +01:00
|
|
|
| {{ otherpersonexpedition|link }}
|
2009-05-13 05:43:20 +01:00
|
|
|
{% endifequal %}
|
2009-05-13 05:38:18 +01:00
|
|
|
{% endfor %}
|
2009-05-13 05:43:20 +01:00
|
|
|
</p>
|
2009-05-13 05:38:18 +01:00
|
|
|
|
2009-05-13 05:43:20 +01:00
|
|
|
<h3>Table of all trips and surveys aligned by date</h3>
|
|
|
|
<div>
|
|
|
|
<table class="survexcontibutions">
|
2009-07-27 13:42:54 +01:00
|
|
|
<tr><th>Date</th><th colspan="2">Trips</th><th colspan="2">Surveys</th></tr>
|
|
|
|
{% for persondate in personchronology %}
|
2009-05-13 05:43:20 +01:00
|
|
|
<tr>
|
|
|
|
<td class="date">{{persondate.0}}</td>
|
|
|
|
|
2009-07-27 13:42:54 +01:00
|
|
|
{% if persondate.1 %}
|
|
|
|
<td class="trip"><a href="{{ persondate.1.logbook_entry.get_absolute_url }}">{{persondate.1.logbook_entry.title|safe}}</a></td>
|
|
|
|
<td><a href="{{ persondate.1.logbook_entry.cave.get_absolute_url }}">{{persondate.1.place|safe}}</a></td>
|
|
|
|
{% else %}
|
|
|
|
<td colspan="2"> </td>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if persondate.2 %}
|
|
|
|
<td class="survexblock"><a href="{% url survexblock persondate.2.0 %}">{{persondate.2.0}}</a></td>
|
|
|
|
<td class="roles">{{persondate.2.1}}</td>
|
|
|
|
{% else %}
|
2009-08-01 07:31:27 +01:00
|
|
|
<td colspan="2"> </td>
|
2009-07-27 13:42:54 +01:00
|
|
|
{% endif %}
|
2009-05-13 05:43:20 +01:00
|
|
|
|
|
|
|
</tr>
|
2009-05-13 05:38:18 +01:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|