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/expedition.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/expedition.html')
-rw-r--r-- | templates/expedition.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/expedition.html b/templates/expedition.html index a7add92..e4f12f0 100644 --- a/templates/expedition.html +++ b/templates/expedition.html @@ -38,7 +38,12 @@ <td>{{logbookentry.date}}</td> <td><a href="{% url logbookentry logbookentry.href %}">{{logbookentry.title|safe}}</td> <td><a href="{% url personexpedition logbookentry.author.person.href logbookentry.author.expedition.year %}">{{logbookentry.author.name}}</a></td> - <td>{{logbookentry.place}}</td> + + {% if logbookentry.cave %} + <td><a href="{% url cave logbookentry.cave.href %}">{{logbookentry.place}}</a></td> + {% else %} + <td>{{logbookentry.place}}</td> + {% endif %} </tr> {% endfor %} </table> |