2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-12-12 03:22:18 +00:00
troggle/templates/person.html

49 lines
1.5 KiB
HTML
Raw Normal View History

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 %}
<h2> {{person.fullname|safe}} </h2>
2011-07-11 02:10:22 +01:00
{% endblock %}
{% block content %}
{% if person.mug_shot %}
2011-07-11 02:10:22 +01:00
<div class="figure">
<p> <img src="{{ person.mug_shot }}" class="thumbnail" />
2011-07-11 02:10:22 +01:00
</p>
</div>
{% endif %}
<br class="clearfloat" />
<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> &nbsp;
{{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> &nbsp;
{{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
{% 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 %}