blob: c96b4108a06f7318cccff952e2d5d20bfc48a9dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{% extends "base.html" %}
{% block title %}Person {{person}}{% endblock %}
{% block contentheader %}
<h2> {{person.fullname|safe}} </h2>
{% endblock %}
{% block content %}
{% if person.mug_shot %}
<div class="figure">
<p> <img src="{{ person.mug_shot }}" class="thumbnail" />
</p>
</div>
{% endif %}
<br class="clearfloat" />
<h3>{{person.fullname|safe}} has been on expo in the following years:</h3>
<table>
<th>Expo</th><th>Logbook mentions</th><th>Survex trips</th>
{% for personexpedition in person.personexpedition_set.all %}
<tr>
<td> <a href="{{ personexpedition.get_absolute_url }}">{{personexpedition.expedition.year}}</a>
</td>
<td>
<span style="padding-left:{{personexpedition.personlogentry_set.all|length}}0px; background-color:red"></span>
{{personexpedition.personlogentry_set.all|length}}
</td>
<td>
<span style="padding-left:{{personexpedition.survexpersonrole_set.all|length}}0px; background-color:blue"></span>
{{personexpedition.survexpersonrole_set.all|length}}
</td>
</tr>
{% endfor %}
</table>
<h3>Surveys done</h3>
Wallets and surveys mentioning <a href="/wallets/person/{{person}}">{{person.fullname|safe}}</a><br>
{% if person.user %}
This person has a 'troggle user' logon '{{person.user}}' and a registered email address. <br />
<a href="/accounts/register/{{person.slug}}">RE-REGISTER</a> but only after logging-on as '{{person.user}}'
{% else %}
<a href="/accounts/register/{{person.slug}}">REGISTER</a> as a troggle user
{% endif %}
<br />
{% 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 %}
{% endblock %}
|