{{message}}
-{{personexpedition.surveyedleglength|stringformat:".1f"}} m surveyed this year.
+{{personexpedition.surveyedleglength|floatformat:1}} m surveyed this year.
Other years: {% for otherpersonexpedition in personexpedition.person.personexpedition_set.all %} @@ -31,8 +26,6 @@ If anyone really cares, they can always look in the original survex file
Date | Trips | Surveys | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{persondate.2.name}} | - {%comment%} -- {% for survexpersonrole in persondate.2.survexpersonrole_set.all %} - {{survexpersonrole.nrole}} - {% endfor %} - | {%endcomment%} +- {{persondate.2.legslength|stringformat:".1f"}} m + {{persondate.2.legslength|floatformat:1}} m | {% else %}diff --git a/templates/statistics.html b/templates/statistics.html index 67a895d..9439fdc 100644 --- a/templates/statistics.html +++ b/templates/statistics.html @@ -12,17 +12,18 @@ Total length: {{addupsurvexlength|stringformat:".1f"}} km adding up the total fo |
Year | Survex Survey Blocks | Survex Survey Legs | Total length (m) | |
---|---|---|---|---|
Year | Survex Survey Blocks | Survex Survey Legs | Total length (m) | Total length (m) |
{{legs.0}} | {{legs.0.survexblock_set.all|length}} | {{legs.1.nsurvexlegs|rjust:"10"}} | {{legs.1.survexleglength}} | +{{legs.1.survexleglength|floatformat:0}} |