summaryrefslogtreecommitdiffstats
path: root/templates/logbookentry.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-08-26 18:39:29 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-08-26 18:39:29 +0300
commitd08a6aa204144e20e1e697fde3f6444edce814f1 (patch)
tree534c1376bc59e3f9ca31f14836f33ebe6bc8e4eb /templates/logbookentry.html
parent93397a774fc5cd1aceec0b4329c8f96c708559a5 (diff)
downloadtroggle-d08a6aa204144e20e1e697fde3f6444edce814f1.tar.gz
troggle-d08a6aa204144e20e1e697fde3f6444edce814f1.tar.bz2
troggle-d08a6aa204144e20e1e697fde3f6444edce814f1.zip
Nicknames preserved, date checked
Diffstat (limited to 'templates/logbookentry.html')
-rw-r--r--templates/logbookentry.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/logbookentry.html b/templates/logbookentry.html
index 4185512..e15cec3 100644
--- a/templates/logbookentry.html
+++ b/templates/logbookentry.html
@@ -27,6 +27,12 @@
{% endif %}
</p>
+<style>
+th, td {
+ padding-left: 3px;
+ padding-right: 3px;
+}
+</style>
<table class="cavers">
<tr><th>Caver</th><th>T/U</th><th>Prev</th><th>Next</th></tr>
{% for personlogentry in logbookentry.personlogentry_set.all %}
@@ -36,7 +42,7 @@
{% else %}
<td>
{% endif %}
- <a href="{{ personlogentry.personexpedition.get_absolute_url }}">{{personlogentry.personexpedition.person}}</a>
+ <a href="{{ personlogentry.personexpedition.get_absolute_url }}">{{personlogentry.nickname_used}} ({{personlogentry.personexpedition.person}})</a>
</td>
<td>
@@ -64,7 +70,7 @@
<div id="col1">
<div class="logbookentry">
<b>{{logbookentry.date|date:"D d M Y"}}</b>
- {% for personlogentry in logbookentry.personlogentry_set.all %}{% if personlogentry.is_logbook_entry_author %}<br />{{personlogentry.personexpedition.person}}{% endif %}{% endfor %}
+ {% for personlogentry in logbookentry.personlogentry_set.all %}{% if personlogentry.is_logbook_entry_author %}<br />{{personlogentry.nickname_used}} {% endif %}{% endfor %}
<p>{{logbookentry.text|safe}}</p>
</div>
<p><a href="/logbookedit/{{logbookentry.slug|safe}}">Edit this entry</a>.