summaryrefslogtreecommitdiffstats
path: root/templates/personwallets.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/personwallets.html')
-rw-r--r--templates/personwallets.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/templates/personwallets.html b/templates/personwallets.html
index 675c3ac..147f047 100644
--- a/templates/personwallets.html
+++ b/templates/personwallets.html
@@ -14,7 +14,7 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c
<p>See also wallets
<ul>
<li>per year, e.g. <a href="/wallets/year/2018">2018</a>, <a href="/wallets/year/2019">2019</a>, <a href="/wallets/year/2022">2022</a>
-<li>per cave, e.g. <a href="/cave/scans/1623-161">1623/161</a>, <a href="/cave/scans/1623-290">1623/290</a>, <a href="/cave/scans/1623-291">1623/291</a>, <a href="/cave/scans/1623-264">1623/264</a>
+<li>per cave, e.g. <a href="/cave/scans/1623-161">1623-161</a>, <a href="/cave/scans/1626-359">1626-359</a>, <a href="/cave/scans/1623-290">1623-290</a>, <a href="/cave/scans/1623-291">1623-291</a>, <a href="/cave/scans/1623-264">1623-264</a>
</ul>
{% include 'wallet_table.html' %}
@@ -28,7 +28,15 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c
<td style="padding:2px" >{% if wallet.date %}{{wallet.date}}{% else %} {% endif %}</td>
<td style="padding:2px">{% if wallet.name %}{{wallet.name}}{% 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">{{wallet.persons}}</td>
- <td style="padding:2px">{% if wallet.cave %}{{wallet.cave}}{% else %} {% endif %}</td>
+ <td style="padding:2px">
+ {% if wallet.cave %}
+ {% if wallet.cave.slug %}
+ <a href="/cave/scans/{{wallet.cave.slug}}">{{wallet.cave}}</a>
+ {% else %}
+ {{wallet.cave}}
+ {% endif %}
+ {% else %}
+ {% endif %}</td>
<td align="center" style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.singlescan_set.all|length}}</a></td>
<td style="padding:2px">