more complete list of caves linked to wallets

This commit is contained in:
Philip Sargent
2022-09-22 01:37:25 +03:00
parent 5c0835e076
commit b4cf2bac95
5 changed files with 29 additions and 18 deletions

View File

@@ -24,12 +24,13 @@
<td style="padding:2px">{% if wallet.date %}{{wallet.date}}{% else %} {% endif %}</td>
<td style="padding:2px">
{% if wallet.cave %}
{% if wallet.cave.slug %}
<a href="/cave/scans/{{wallet.cave.slug}}">{{wallet.cave}}</a>
{% if wallet.caveobj.slug %}
<a href="/cave/scans/{{wallet.caveobj.slug}}">{{wallet.cave}}</a>
{% else %}
{{wallet.cave}}
{% endif %}
{% else %}
<em>No wallet.cave {{wallet.cave}}</em>
{% 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" align=center>