summaryrefslogtreecommitdiffstats
path: root/templates/expedition.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/expedition.html')
-rw-r--r--templates/expedition.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/expedition.html b/templates/expedition.html
index a7add92..e4f12f0 100644
--- a/templates/expedition.html
+++ b/templates/expedition.html
@@ -38,7 +38,12 @@
<td>{{logbookentry.date}}</td>
<td><a href="{% url logbookentry logbookentry.href %}">{{logbookentry.title|safe}}</td>
<td><a href="{% url personexpedition logbookentry.author.person.href logbookentry.author.expedition.year %}">{{logbookentry.author.name}}</a></td>
- <td>{{logbookentry.place}}</td>
+
+ {% if logbookentry.cave %}
+ <td><a href="{% url cave logbookentry.cave.href %}">{{logbookentry.place}}</a></td>
+ {% else %}
+ <td>{{logbookentry.place}}</td>
+ {% endif %}
</tr>
{% endfor %}
</table>