summaryrefslogtreecommitdiffstats
path: root/templates/logbookentry.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/logbookentry.html')
-rw-r--r--templates/logbookentry.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/logbookentry.html b/templates/logbookentry.html
index 584da8e..d9b0de2 100644
--- a/templates/logbookentry.html
+++ b/templates/logbookentry.html
@@ -29,30 +29,30 @@
<table class="cavers">
<tr><th>Caver</th><th>T/U</th><th>Prev</th><th>Next</th></tr>
-{% for persontrip in logbookentry.persontrip_set.all %}
+{% for personlogentry in logbookentry.persontrip_set.all %}
<tr>
- {% if persontrip.is_logbook_entry_author %}
+ {% if personlogentry.is_logbook_entry_author %}
<td class="author">
{% else %}
<td>
{% endif %}
- <a href="{{ persontrip.personexpedition.get_absolute_url }}">{{persontrip.personexpedition.person}}</a>
+ <a href="{{ personlogentry.personexpedition.get_absolute_url }}">{{personlogentry.personexpedition.person}}</a>
</td>
<td>
- {% if persontrip.timeunderground %}
- - T/U {{persontrip.timeunderground}}</p>
+ {% if personlogentry.timeunderground %}
+ - T/U {{personlogentry.timeunderground}}</p>
{% endif %}
</td>
<td>
- {% if persontrip.persontrip_prev %}
- <a href="{{ persontrip.persontrip_prev.logbook_entry.get_absolute_url }}">{{persontrip.persontrip_prev.logbook_entry.date|date:"D d M Y"}}</a>
+ {% if personlogentry.prev_personlog %}
+ <a href="{{ personlogentry.prev_personlog.logbook_entry.get_absolute_url }}">{{personlogentry.prev_personlog.logbook_entry.date|date:"D d M Y"}}</a>
{% endif %}
</td>
<td>
- {% if persontrip.persontrip_next %}
- <a href="{{ persontrip.persontrip_next.logbook_entry.get_absolute_url }}">{{persontrip.persontrip_next.logbook_entry.date|date:"D d M Y"}}</a>
+ {% if personlogentry.next_personlog %}
+ <a href="{{ personlogentry.next_personlog.logbook_entry.get_absolute_url }}">{{personlogentry.next_personlog.logbook_entry.date|date:"D d M Y"}}</a>
{% endif %}
</td>
@@ -64,7 +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 %}
+ {% for personlogentry in logbookentry.persontrip_set.all %}{% if personlogentry.is_logbook_entry_author %}<br />{{personlogentry.personexpedition.person}}{% endif %}{% endfor %}
<p>{{logbookentry.text|safe}}</p>
</div>
</div>