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 %}
|
2009-09-11 09:04:59 +01:00
|
|
|
<h1>
|
|
|
|
<a href="{{personexpedition.person.get_absolute_url}}">{{personexpedition.person}}</a> :
|
|
|
|
<a href="{{personexpedition.expedition.get_absolute_url}}">{{personexpedition.expedition}}</a>
|
|
|
|
</h1>
|
2009-05-13 05:38:18 +01:00
|
|
|
|
2009-09-11 09:04:59 +01:00
|
|
|
<p>{{message}}</p>
|
2009-05-13 05:39:52 +01:00
|
|
|
|
2009-09-11 09:04:59 +01:00
|
|
|
<p><b>Other years:</b>
|
2009-05-13 05:43:20 +01:00
|
|
|
{% for otherpersonexpedition in personexpedition.person.personexpedition_set.all %}
|
2009-09-11 09:04:59 +01:00
|
|
|
{% ifequal otherpersonexpedition personexpedition %}
|
2009-05-13 05:43:20 +01:00
|
|
|
| <b>{{otherpersonexpedition.expedition.year}}</b>
|
2009-09-11 09:04:59 +01:00
|
|
|
{% else %}
|
|
|
|
| <a href="{{otherpersonexpedition.get_absolute_url}}">{{ otherpersonexpedition.expedition.year }}</a>
|
|
|
|
{% 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 %}
|
2009-09-11 09:04:59 +01:00
|
|
|
<td class="survexblock"><a href="{% url svx persondate.2.survexfile.path %}">{{persondate.2}}</a></td>
|
|
|
|
<td class="roles">
|
|
|
|
{% for survexpersonrole in persondate.2.survexpersonrole_set.all %}
|
|
|
|
{{survexpersonrole.nrole}}
|
|
|
|
{% endfor %}
|
|
|
|
</td>
|
2009-07-27 13:42:54 +01:00
|
|
|
{% 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 %}
|