2011-07-11 02:10:22 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load wiki_markup %}
|
2020-06-04 21:57:04 +01:00
|
|
|
{% load link %}
|
2011-07-11 02:10:22 +01:00
|
|
|
|
2020-06-04 21:57:04 +01:00
|
|
|
{% block title %}Expo statistics{% endblock %}
|
2011-07-11 02:10:22 +01:00
|
|
|
|
|
|
|
{% block content %}
|
2020-06-04 21:57:04 +01:00
|
|
|
<h1>Expo Statistics</h1>
|
|
|
|
|
|
|
|
<p>{{ expoCount }} expeditions: {{ personCount }} people have contributed {{ caveCount }} caves and {{ logbookEntryCount }} logbook entries.
|
|
|
|
|
2020-06-12 14:52:00 +01:00
|
|
|
<p>Number of survey legs: {{nsurvexlegs}}<br />
|
|
|
|
Total length: {{totalsurvexlength|stringformat:".3f"}} m on importing survex files.<br />
|
|
|
|
Total length: {{addupsurvexlength|stringformat:".3f"}} m adding up all the years below.</p>
|
|
|
|
|
2020-06-04 21:57:04 +01:00
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr><th>Year</th><th>Surveys</th><th>Survey Legs</th><th>Total length<br>(km)</th></tr>
|
|
|
|
{% for legs in legsbyexpo %}
|
|
|
|
<tr>
|
|
|
|
<td>{{legs.0.year}}</td>
|
|
|
|
<td style="text-align:right">{{legs.0.survexblock_set.all|length}}</td>
|
|
|
|
<td style="text-align:right">{{legs.1.nsurvexlegs|rjust:"10"}}</td>
|
|
|
|
<td style="text-align:right">{{legs.1.survexleglength|stringformat:".3f"}}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|
2009-05-13 05:22:14 +01:00
|
|
|
{% endblock %}
|