mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 12:51:11 +00:00
Add survex trips to logbook mentions
This commit is contained in:
@@ -16,17 +16,25 @@
|
||||
<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>
|
||||
|
||||
<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.persontrip_set.all|length}}0px; background-color:red"></span>
|
||||
{{personexpedition.persontrip_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}}</a><br>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user