summaryrefslogtreecommitdiffstats
path: root/templates/logbookentry.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/logbookentry.html')
-rw-r--r--templates/logbookentry.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/logbookentry.html b/templates/logbookentry.html
index 5691c4e..1af88bd 100644
--- a/templates/logbookentry.html
+++ b/templates/logbookentry.html
@@ -31,11 +31,11 @@
<tr><th>Caver</th><th>T/U</th><th>Prev</th><th>Next</th></tr>
{% for persontrip in logbookentry.persontrip_set.all %}
<tr>
- {% ifequal persontrip.personexpedition logbookentry.author %}
+ {% if persontrip.personexpedition == logbookentry.author %}
<td class="author">
{% else %}
<td>
- {% endifequal %}
+ {% endif %}
<a href="{{ persontrip.personexpedition.get_absolute_url }}">{{persontrip.personexpedition.person}}</a>
</td>