summaryrefslogtreecommitdiffstats
path: root/templates/expedition.html
diff options
context:
space:
mode:
authorgoatchurch <devnull@localhost>2009-08-05 11:58:36 +0100
committergoatchurch <devnull@localhost>2009-08-05 11:58:36 +0100
commite4496e4cd8dd7d6ea809aa2142f2d7adcbeca213 (patch)
treec7603f32f60415e0b36bacbf2cc77faafd3ca432 /templates/expedition.html
parent60dcb82ef6ca4faf4b7e2e5cb2d407961af5ea3f (diff)
downloadtroggle-e4496e4cd8dd7d6ea809aa2142f2d7adcbeca213.tar.gz
troggle-e4496e4cd8dd7d6ea809aa2142f2d7adcbeca213.tar.bz2
troggle-e4496e4cd8dd7d6ea809aa2142f2d7adcbeca213.zip
[svn] latest hacking for various statistics
Diffstat (limited to 'templates/expedition.html')
-rw-r--r--templates/expedition.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/expedition.html b/templates/expedition.html
index d208b7d..3a917bb 100644
--- a/templates/expedition.html
+++ b/templates/expedition.html
@@ -52,4 +52,18 @@
</table>
</div>
+<div>
+<h3 id="surveysdone">Surveys done</h3>
+<table class="survextrip">
+<tr><th>Date</th><th>Name</th><th>Length</th></tr>
+{% for survexblock in expedition.survexblock_set.all %}
+ <tr>
+ <td>{{survexblock.date}}</td>
+ <td><a href="{% url svx survexblock.survexfile.path %}">{{survexblock.name}}</a></td>
+ <td>{{survexblock.totalleglength}}</td>
+ </tr>
+{% endfor %}
+</table>
+</div>
+
{% endblock %}