summaryrefslogtreecommitdiffstats
path: root/templates/logbookentry.html
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:46:12 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:46:12 +0100
commitcdd4e685ee95e44b9a599b03cf11723a4ce7b7c6 (patch)
tree6ca7a91dc7c1a9ce15d078c6ee5729fb16afe3a4 /templates/logbookentry.html
parent84e9cc339615ed9b183ec4ba9820200f9141bb00 (diff)
downloadtroggle-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/logbookentry.html')
-rw-r--r--templates/logbookentry.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/logbookentry.html b/templates/logbookentry.html
index f742edd..57c1c18 100644
--- a/templates/logbookentry.html
+++ b/templates/logbookentry.html
@@ -8,7 +8,12 @@
<div id="col2">
<p><a href="{% url expedition logbookentry.expedition.year %}">{{logbookentry.expedition.name}}</a></p>
-<p>place: {{logbookentry.place}}</p>
+
+{% if logbookentry.cave %}
+ <p>place: <a href="{% url cave logbookentry.cave.href %}">{{logbookentry.place}}</p>
+{% else %}
+ <p>{{logbookentry.place}}</p>
+{% endif %}
<p>
{% if logbookentry.logbookentry_prev %}