2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 07:47:14 +00:00

enhancing list of wallets on cave description page

This commit is contained in:
2023-12-23 18:37:20 +00:00
parent ebfab4da45
commit 96b034d026
5 changed files with 40 additions and 19 deletions

View File

@@ -121,8 +121,15 @@ Nope, it is not useful, removing it... Philip S.
<a href="{% url 'caveQMs' cave_id|safe %}">QM page for {{ cave_id|safe }}</a>
{% endif %}
<h2>Scanned survey notes</h2>
<a href="{% url "cavewallets" cave_id %}">{{ cave_id|safe }}</a> (if any)
{% if wallets %}
<h2>Wallets: scanned survey notes</h2>
There are <a href="{% url "cavewallets" cave_id %}">{{wallets|length}} wallets</a> with data for this cave:<br />
{% for w in wallets %}
<a href="{{w.get_url}}">{{w.walletname}}</a>
{% endfor %}
{% endif %}
{% endif %}
{% if cave.notes %}

View File

@@ -20,11 +20,16 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c
{% for otherexpedition in expeditions %}
| <a <a href="/wallets/year/{{ otherexpedition.year }}">{{otherexpedition.year}}</a>
{% endfor %}</ul></ul>
{% include 'wallet_table.html' %}
<p>Note that names in italics are copied from the related survex file block name.
<br />
<p>Total underground survey length: {{length_ug|floatformat:"1g"}} m<br />
Note that this is for <em>all the wallets</em> listed above, which includes those which may not be directly relevant to what you are looking for.
Note that this is for <em>all the wallets</em> listed above, which includes those which are surveys of different caves not just {{cave}}.
<br />
If you want accurate cave lengths for {{cave}}, go to the <a href="/survexfile/{{cave.survex_file}}">primary survex file</a> for this cave
and click on the "Run 'cavern' on this SVX file" button at the bottom of the page.
<br />
<table width=95%>
<tr><th>Wallet</th><th width=13%>Wallet Date</th><th>Wallet Name</th><th width=25%>People</th><th>Scans</th><th>Survex blocks</th><th>Drawings using these scans</th></tr>