diff options
Diffstat (limited to 'templates/personwallets.html')
-rw-r--r-- | templates/personwallets.html | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/templates/personwallets.html b/templates/personwallets.html index 55a0e0e..4f5a403 100644 --- a/templates/personwallets.html +++ b/templates/personwallets.html @@ -23,7 +23,7 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c <p>Note that names in italics are copied from the related survex file block name. <br /> <table width=95%> -<tr><th>Wallet</th><th width=13%>Wallet Date</th><th>Wallet Name</th><th width=28%>Team</th><th width=8%>>Cave</th><th>Scans</th><th>Survex blocks</th><th>Drawings using these scans</th></tr> +<tr><th>Wallet</th><th width=13%>Wallet Date</th><th>Wallet Name</th><th width=28%>Team</th><th width=8%>Cave(s)</th><th>Scans</th><th>Survex blocks</th><th>Drawings using these scans</th></tr> {% for wallet in manywallets|dictsort:"walletname" %} <tr> <td style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.walletname}}</a></td> @@ -37,15 +37,11 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c {%for p in wallet.persons%} <a href="/person/{{p.slug}}">{{p.fullname}}</a>{%if not forloop.last %}, {% endif %} {% endfor %}</td> - <td style="padding:2px"> - {% if wallet.cave %} - {% if wallet.caveobj.slug %} - <a href="/cave/scans/{{wallet.caveobj.slug}}">{{wallet.cave}}</a> - {% else %} - {{wallet.cave}} - {% endif %} - {% else %} - {% endif %}</td> + <td style="padding:2px; font-family: monospace; font-size: 90%;"> + {% for c in wallet.caves.all %} + <a href="/cave/scans/{{c.slug}}">{{c}}</a> + {% endfor %} + </td> <td align="center" style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.singlescan_set.all|length}}</a></td> <td style="padding:2px"> |