[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
This commit is contained in:
substantialnoninfringinguser
2009-05-13 05:46:12 +01:00
parent 84e9cc3396
commit cdd4e685ee
13 changed files with 225 additions and 159 deletions

View File

@@ -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 %}