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 %}
|
2021-04-30 22:44:03 +01:00
|
|
|
<h2> {{person|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" />
|
|
|
|
|
2021-04-30 22:44:03 +01:00
|
|
|
<h3>{{person|safe}} has been on expo in the following years:</h3>
|
2011-07-11 02:10:22 +01:00
|
|
|
<p>
|
|
|
|
<ul>
|
|
|
|
{% for personexpedition in person.personexpedition_set.all %}
|
|
|
|
<li> <a href="{{ personexpedition.get_absolute_url }}">{{personexpedition.expedition.year}}</a>
|
|
|
|
<span style="padding-left:{{personexpedition.persontrip_set.all|length}}0px; background-color:red"></span>
|
|
|
|
{{personexpedition.persontrip_set.all|length}} trips
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</p>
|
|
|
|
|
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 %}
|