mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-04-11 13:21:45 +01:00
Show survey length per survex file
This commit is contained in:
parent
76ed801077
commit
57930b7aa5
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
<table width=95%>
|
<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-->
|
<!-- survex file-->
|
||||||
<th style="font-family: monospace; font-size: 150%;" title="Survex file exists">S</th>
|
<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">{% 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>
|
<td style="padding:2px" align=center>
|
||||||
{% for survexblock in wallet.survexblock_set.all %}
|
{% 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 %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user