summaryrefslogtreecommitdiffstats
path: root/templates/personexpedition.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/personexpedition.html')
-rw-r--r--templates/personexpedition.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/personexpedition.html b/templates/personexpedition.html
index 792e20a..e1e481b 100644
--- a/templates/personexpedition.html
+++ b/templates/personexpedition.html
@@ -36,7 +36,12 @@
{% for persontrip in persondate.1.persontrips %}
<tr>
<td class="trip"><a href="{% url logbookentry persontrip.logbook_entry.href %}">{{persontrip.logbook_entry.title|safe}}</a></td>
- <td class="place">{{persontrip.place}}</td>
+
+ {% if persontrip.logbook_entry.cave %}
+ <td><a href="{% url cave persontrip.logbook_entry.cave.href %}">{{persontrip.place}}</a></td>
+ {% else %}
+ <td>{{persontrip.place}}</td>
+ {% endif %}
</tr>
{% endfor %}
</table>