2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-03-30 09:39:50 +01: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 %}