forked from expo/troggle
format tidy & normalise paths in survex *inlcude
This commit is contained in:
@@ -8,16 +8,16 @@
|
||||
|
||||
<h1>Expo Experimental</h1>
|
||||
|
||||
<p>Number of survey legs: {{nsurvexlegs}}, total length: {{totalsurvexlength}}</p>
|
||||
<p>Number of survey legs: {{nsurvexlegs}}, total length: {{totalsurvexlength|stringformat:".3f"}} km</p>
|
||||
|
||||
<table>
|
||||
<tr><th>Year</th><th>Surveys</th><th>Survey Legs</th><th>Total length</th></tr>
|
||||
<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>{{legs.0.survexblock_set.all|length}}</td>
|
||||
<td>{{legs.1.nsurvexlegs}}</td>
|
||||
<td>{{legs.1.survexleglength}}</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>
|
||||
|
||||
Reference in New Issue
Block a user