summaryrefslogtreecommitdiffstats
path: root/templates/yearwallets.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/yearwallets.html')
-rw-r--r--templates/yearwallets.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/templates/yearwallets.html b/templates/yearwallets.html
index 51a56c0..a6391e3 100644
--- a/templates/yearwallets.html
+++ b/templates/yearwallets.html
@@ -15,7 +15,7 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c
<p>See also wallets
<ul style="width: 78%">
-<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>
<li>per person, e.g. <a href="/wallets/person/Wookey">Wookey</a>, <a href="/wallets/person/ChrisDensham">Chris Densham</a>, <a href="/wallets/person/BeckaLawson">Becka</a>
<li>other years:
{% for otherexpedition in expeditions %}
@@ -38,7 +38,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">