diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/statistics.html | 10 | ||||
-rw-r--r-- | templates/svxfile.html | 2 | ||||
-rw-r--r-- | templates/yearwallets.html | 1 |
3 files changed, 7 insertions, 6 deletions
diff --git a/templates/statistics.html b/templates/statistics.html index 9439fdc..f3cb0b7 100644 --- a/templates/statistics.html +++ b/templates/statistics.html @@ -12,18 +12,18 @@ Total length: {{addupsurvexlength|stringformat:".1f"}} km adding up the total fo <p>These are uncorrected tape lengths which include pitches and duplicates but exclude splays or surface-surveys. <p> -This is work in progress (March 2023): the last column is floatng point numbers, the 3rd column appears to be strings.. +This is work in progress (March 2023): the underground survey length does not match that in e.g. +<a href="/wallets/year/2018">wallets for 2018</a> probably because ARGE surveys are not in any of our wallets. <p>This includes ARGE and other surveys currently. It will be changed to only include lengths surveyed by valid Expo-attendees. <table> -<tr><th>Year</th><th>Survex<br>Survey<br>Blocks</th><th>Survex<br>Survey Legs</th><th>Total length<br>(m)</th><th>Total length<br>(m)</th></tr> +<tr><th>Year</th><th>Survex<br>Survey<br>Blocks</th><th>Survex<br>Survey Legs</th><th>Survex <br>length(m)</th></tr> {% for legs in legsbyexpo %} <tr> <td style="text-align:center"><a href="{{ legs.0.get_absolute_url }}">{{legs.0}}</a></td> <td style="text-align:center">{{legs.0.survexblock_set.all|length}}</td> - <td style="text-align:center">{{legs.1.nsurvexlegs|rjust:"10"}} </td> - <td style="text-align:right">{{legs.1.survexleglength}}</td> - <td style="text-align:right">{{legs.1.survexleglength|floatformat:0}}</td> + <td style="text-align:center">{{legs.1.nsurvexlegs|rjust:"10"|floatformat:"0g"}} </td> + <td style="text-align:right">{{legs.1.survexleglength|floatformat:"0g"}}</td> </tr> {% endfor %} </table> diff --git a/templates/svxfile.html b/templates/svxfile.html index ca35cde..ccd9749 100644 --- a/templates/svxfile.html +++ b/templates/svxfile.html @@ -80,7 +80,7 @@ LOGMESSAGES --> {% endif %} </div> -survey length: {{svxlength|floatformat:2}} metres +undergound survey length: {{svxlength|floatformat:2}} metres <span style="font-family: monospace; font-size: 130%; "> {% for sb in svxblocks %} {% empty %} diff --git a/templates/yearwallets.html b/templates/yearwallets.html index 242f1fc..718d621 100644 --- a/templates/yearwallets.html +++ b/templates/yearwallets.html @@ -29,6 +29,7 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c {% include 'wallet_table.html' %} <p>Note that names in italics are copied from the related survex file block name. +<p>Total underground survey length: {{length_ug|floatformat:"1g"}} m <br /> <table width=95%> <tr><th>Wallet</th><th width=13%>Wallet Date</th><th>Wallet Name</th><th width=25%>People</th><th width=8%>Cave</th><th>Scans</th><th>Survex blocks</th><th>Drawings using these scans</th></tr> |