2011-07-11 02:10:22 +01:00
|
|
|
{% extends "base.html" %}
|
2021-04-30 22:44:03 +01:00
|
|
|
{% block title %}Person {{person}}{% endblock %}
|
2011-07-11 02:10:22 +01:00
|
|
|
{% block contentheader %}
|
2023-10-01 13:55:28 +01:00
|
|
|
<h2> {{person.fullname|safe}} </h2>
|
2011-07-11 02:10:22 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
2021-04-15 17:51:01 +01:00
|
|
|
|
|
|
|
{% if person.mug_shot %}
|
2011-07-11 02:10:22 +01:00
|
|
|
<div class="figure">
|
2021-04-15 17:51:01 +01:00
|
|
|
<p> <img src="{{ person.mug_shot }}" class="thumbnail" />
|
2011-07-11 02:10:22 +01:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<br class="clearfloat" />
|
|
|
|
|
2023-10-01 13:55:28 +01:00
|
|
|
<h3>{{person.fullname|safe}} has been on expo in the following years:</h3>
|
2022-10-15 17:33:30 +01:00
|
|
|
|
|
|
|
<table>
|
|
|
|
<th>Expo</th><th>Logbook mentions</th><th>Survex trips</th>
|
2011-07-11 02:10:22 +01:00
|
|
|
{% for personexpedition in person.personexpedition_set.all %}
|
2022-10-15 17:33:30 +01:00
|
|
|
<tr>
|
|
|
|
<td> <a href="{{ personexpedition.get_absolute_url }}">{{personexpedition.expedition.year}}</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
2023-01-30 23:22:28 +00:00
|
|
|
<span style="padding-left:{{personexpedition.personlogentry_set.all|length}}0px; background-color:red"></span>
|
|
|
|
{{personexpedition.personlogentry_set.all|length}}
|
2022-10-15 17:33:30 +01:00
|
|
|
</td>
|
2011-07-11 02:10:22 +01:00
|
|
|
|
2022-10-15 17:33:30 +01:00
|
|
|
<td>
|
|
|
|
<span style="padding-left:{{personexpedition.survexpersonrole_set.all|length}}0px; background-color:blue"></span>
|
|
|
|
{{personexpedition.survexpersonrole_set.all|length}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2022-07-31 17:33:14 +01:00
|
|
|
<h3>Surveys done</h3>
|
2023-10-01 15:53:25 +01:00
|
|
|
Wallets and surveys mentioning <a href="/wallets/person/{{person}}">{{person.fullname|safe}}</a><br>
|
2022-07-31 17:33:14 +01:00
|
|
|
|
2021-04-15 17:51:01 +01:00
|
|
|
{% if person.blurb %}
|
|
|
|
{{person.blurb|safe}}
|
|
|
|
{% else %}
|
|
|
|
To add a blurb file for a person, create /folk/l/<id>.html and register it in /folk/folk.csv .
|
|
|
|
Documented in <a href="/handbook/computing/folkupdate.html">/handbook/computing/folkupdate.html</a>
|
|
|
|
{% endif %}
|
2011-07-11 02:10:22 +01:00
|
|
|
|
|
|
|
{% endblock %}
|