diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:46:12 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:46:12 +0100 |
commit | cdd4e685ee95e44b9a599b03cf11723a4ce7b7c6 (patch) | |
tree | 6ca7a91dc7c1a9ce15d078c6ee5729fb16afe3a4 /templates/cave.html | |
parent | 84e9cc339615ed9b183ec4ba9820200f9141bb00 (diff) | |
download | troggle-cdd4e685ee95e44b9a599b03cf11723a4ce7b7c6.tar.gz troggle-cdd4e685ee95e44b9a599b03cf11723a4ce7b7c6.tar.bz2 troggle-cdd4e685ee95e44b9a599b03cf11723a4ce7b7c6.zip |
[svn] cave maps to all logbook entry trips done there
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8228 by julian @ 1/24/2009 11:59 PM
Diffstat (limited to 'templates/cave.html')
-rw-r--r-- | templates/cave.html | 13 |
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 %}
|