[svn] latest hacking for various statistics

This commit is contained in:
goatchurch
2009-08-05 11:58:36 +01:00
parent 60dcb82ef6
commit e4496e4cd8
16 changed files with 303 additions and 100 deletions

View File

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