2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00

Show survey length per survex file

This commit is contained in:
Philip Sargent 2023-01-31 14:49:54 +00:00
parent 76ed801077
commit 57930b7aa5

View File

@ -1,6 +1,6 @@
<table width=95%>
<tr><th>Wallet</th><th width=15%>Wallet Date</th><th>Cave</th><th>Wallet Name</th><th>Survex</th>
<tr><th>Wallet</th><th width=15%>Wallet Date</th><th>Cave</th><th>Wallet Name</th><th>Survex survey length</th>
<!-- survex file-->
<th style="font-family: monospace; font-size: 150%;" title="Survex file exists">S</th>
@ -34,7 +34,7 @@
<td style="padding:2px">{% if wallet.name %}{{wallet.name|truncatechars:20}}{% else %}<em>{% if wallet.displaynames %} {% for dn in wallet.displaynames %}{{dn}}{%if not forloop.last %}, {% endif %} {% endfor %}{% else %} {% endif %}</em>{% endif %}</td>
<td style="padding:2px" align=center>
{% for survexblock in wallet.survexblock_set.all %}
<a href="{% url "svx" survexblock.survexfile.path %}">svx{{ forloop.counter }}</a>
<a href="{% url "svx" survexblock.survexfile.path %}">{{ survexblock.legslength|floatformat:0 }}m</a>
{% endfor %}