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">
|
|
|
|
<tr><th>Date</th><th>Trips</th><th>Surveys</th></tr>
|
|
|
|
{% for persondate in personexpedition.GetPersonChronology %}
|
|
|
|
<tr>
|
|
|
|
<td class="date">{{persondate.0}}</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
<table>
|
|
|
|
{% for persontrip in persondate.1.persontrips %}
|
|
|
|
<tr>
|
2009-05-13 05:52:15 +01:00
|
|
|
<td class="trip"><a href="{{ persontrip.logbook_entry.get_absolute_url }}">{{persontrip.logbook_entry.title|safe}}</a></td>
|
2009-05-13 05:46:12 +01:00
|
|
|
|
|
|
|
{% if persontrip.logbook_entry.cave %}
|
2009-05-13 05:52:15 +01:00
|
|
|
<td><a href="{{ persontrip.logbook_entry.cave.get_absolute_url }}">{{persontrip.place}}</a></td>
|
2009-05-13 05:46:12 +01:00
|
|
|
{% else %}
|
|
|
|
<td>{{persontrip.place}}</td>
|
|
|
|
{% endif %}
|
2009-05-13 05:43:20 +01:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
<table>
|
|
|
|
{% for personsurvexroles in persondate.1.personroles.items %}
|
|
|
|
<tr>
|
|
|
|
<td class="survexblock"><a href="{% url survexblock personsurvexroles.0 %}">{{personsurvexroles.0}}</a></td>
|
|
|
|
<td class="roles">{{personsurvexroles.1}}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
2009-05-13 05:38:18 +01:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|