summaryrefslogtreecommitdiffstats
path: root/templates/cave.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/cave.html')
-rw-r--r--templates/cave.html11
1 files changed, 9 insertions, 2 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 %}