diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/cave.html | 11 | ||||
-rw-r--r-- | templates/cavewallets.html | 7 |
2 files changed, 15 insertions, 3 deletions
diff --git a/templates/cave.html b/templates/cave.html index 81357a1..dd1155a 100644 --- a/templates/cave.html +++ b/templates/cave.html @@ -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 %} diff --git a/templates/cavewallets.html b/templates/cavewallets.html index 771083b..82e0891 100644 --- a/templates/cavewallets.html +++ b/templates/cavewallets.html @@ -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> |