summaryrefslogtreecommitdiffstats
path: root/templates/aliases.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-10-09 00:17:53 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-10-09 00:17:53 +0300
commite6ca20b1eda8c6d074dd698c0e1c64b24e86a4c1 (patch)
treeb581d79018883159b1800aa93add869332281006 /templates/aliases.html
parentb470ab66e2db18bbad4c9190635a2d8e0ae8eb81 (diff)
downloadtroggle-e6ca20b1eda8c6d074dd698c0e1c64b24e86a4c1.tar.gz
troggle-e6ca20b1eda8c6d074dd698c0e1c64b24e86a4c1.tar.bz2
troggle-e6ca20b1eda8c6d074dd698c0e1c64b24e86a4c1.zip
new report to make aliases visible
Diffstat (limited to 'templates/aliases.html')
-rw-r--r--templates/aliases.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/templates/aliases.html b/templates/aliases.html
new file mode 100644
index 0000000..30b4443
--- /dev/null
+++ b/templates/aliases.html
@@ -0,0 +1,47 @@
+{% 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 %} \ No newline at end of file