summaryrefslogtreecommitdiffstats
path: root/templates/cave.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/cave.html')
-rw-r--r--templates/cave.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/cave.html b/templates/cave.html
index 24c0101..f8a511d 100644
--- a/templates/cave.html
+++ b/templates/cave.html
@@ -2,6 +2,19 @@
{% load wiki_markup %}
{% block content %}
+
+<div id="col2">
+ <h3>All trips done in this cave</h3>
+ <table>
+ {% for logbookentry in cave.logbookentry_set.all %}
+ <tr>
+ <td>{{logbookentry.date}}</td>
+ <td><a href="{% url logbookentry logbookentry.href %}">{{logbookentry.title|safe}}</a></td>
+ </tr>
+ {% endfor %}
+ </table>
+</div>
+
{% if cave.entrances %}
<h2>Entrances</h2>
{% for ent in cave.entrances %}