2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-26 17:21:52 +00:00
troggle/templates/person.html
Philip Sargent 5da1fce41f tidy links
2022-07-31 19:33:14 +03:00

41 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block title %}Person {{person}}{% endblock %}
{% block contentheader %}
<h2> {{person|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|safe}} has been on expo in the following years:</h3>
<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>
<h3>Surveys done</h3>
Wallets and surveys mentioning <a href="/wallets/person/{{person}}">{{person}}</a>
{% 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 %}