2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00
troggle/templates/aliases.html
2022-10-09 00:17:53 +03:00

47 lines
1.0 KiB
HTML

{% extends "base.html" %}
{% block title %}Cave Entrances and other locations in UTM{% endblock %}
{% block content %}
<h1>Aliases for people's names in {{year}}</h1>
<table>
<tr><th>Person</th><th>slug</th><th>aliases</th></tr>
{% for pe in personexpeditions %}
<tr>
<td>{{pe.person}}</td>
<td>{{pe.slugfield}}</td>
<td>{{pe.slugfield}}</td>
</tr>
{% endfor %}
</table>
<table>
<tr><th>alias</th><th>who</th></tr>
{% for key, value in aliasdict.items %}
<tr>
<td>'{{key}}'</td>
<td>{{value}}</td>
</tr>
{% endfor %}
</table>
<p>The aliases below are specified in the folk.csv file. Only one alias is possible in that format.
<table>
<tr><th>First</th><th>Last</th><th>Full name</th><th>Nickname</th><th>expo first</th><th>expo last</th></tr>
{% for p in persons %}
<tr>
<td><b>{{p.first_name}}</b></td>
<td><b>{{p.last_name}}</b></td>
<td>{{p.fullname}}</td>
<td>{{p.nickname}}</td>
<td>{{p.first.expedition}}</td>
<td>{{p.last.expedition}}</td>
</tr>
{% endfor %}
</table>
{% endblock %}