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/logbookentry.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/logbookentry.html')
-rw-r--r-- | templates/logbookentry.html | 7 |
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 %}
|