summaryrefslogtreecommitdiffstats
path: root/templates/logbookentry.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/logbookentry.html')
-rw-r--r--templates/logbookentry.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/logbookentry.html b/templates/logbookentry.html
index 7ddbf05..8a68c36 100644
--- a/templates/logbookentry.html
+++ b/templates/logbookentry.html
@@ -13,7 +13,7 @@
</p>
{% if logbookentry.cave %}
- <p>place: <a href="{{ logbookentry.cave.get_absolute_url }}">{{logbookentry.place}}</p>
+ <p>place: <a href="{{ logbookentry.cave.get_absolute_url }}">{{logbookentry.place|safe}}</p>
{% else %}
<p>{{logbookentry.place|safe}}</p>
{% endif %}
@@ -31,7 +31,7 @@
<tr><th>Caver</th><th>T/U</th><th>Prev</th><th>Next</th></tr>
{% for persontrip in logbookentry.persontrip_set.all %}
<tr>
- {% if persontrip.personexpedition == logbookentry.author %}
+ {% if persontrip.is_logbook_entry_author %}
<td class="author">
{% else %}
<td>
@@ -64,6 +64,7 @@
<div id="col1">
<div class="logbookentry">
<b>{{logbookentry.date|date:"D d M Y"}}</b>
+ {% for persontrip in logbookentry.persontrip_set.all %}{% if persontrip.is_logbook_entry_author %}<br />{{persontrip.personexpedition.person}}{% endif %}{% endfor %}
<p>{{logbookentry.text|safe}}</p>
</div>
</div>