summaryrefslogtreecommitdiffstats
path: root/templates/cavewallets.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-10-25 01:56:30 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-10-25 01:56:30 +0300
commit0843a279660b9dd76a68164b60140d0a0e14f39a (patch)
tree05c407abcddea37b81df9b995d313d3361ff4618 /templates/cavewallets.html
parent33477f2b40a5e88379d2d05cfc5356afdbb06269 (diff)
downloadtroggle-0843a279660b9dd76a68164b60140d0a0e14f39a.tar.gz
troggle-0843a279660b9dd76a68164b60140d0a0e14f39a.tar.bz2
troggle-0843a279660b9dd76a68164b60140d0a0e14f39a.zip
Revised (faster, less brain damaged) wallet pages
Diffstat (limited to 'templates/cavewallets.html')
-rw-r--r--templates/cavewallets.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/cavewallets.html b/templates/cavewallets.html
index 315164a..2e67be7 100644
--- a/templates/cavewallets.html
+++ b/templates/cavewallets.html
@@ -33,13 +33,15 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c
<td style="padding:2px">{% if wallet.walletdate %}{{wallet.walletdate}}{% else %} {% endif %}</td>
<td style="padding:2px">{% if wallet.name %}{{wallet.name|truncatechars:20}}{% 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">
{% if wallet.slugpeople %}
<em>{%for p in wallet.slugpeople%}<a href="/person/{{p.slug}}">{{p.fullname}}</a>{%if not forloop.last %}, {% endif %}{% endfor %}</em>
{% endif %}
- {%for p in wallet.persons%}
- <a href="/person/{{p.slug}}">{{p.fullname}}</a>{%if not forloop.last %}, {% endif %}
- {% endfor %}</td> <td align="center" style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.singlescan_set.all|length}}</a></td>
+ {%for p in wallet.peeps%}
+ <a href="/person/{{p.slug}}">{{p.fullname}}</a>{%if not forloop.last %}, {% endif %}
+ {% endfor %}
+ </td>
<td style="padding:2px">
{% for survexblock in wallet.survexblock_set.all %}
<a href="{% url "svx" survexblock.survexfile.path %}">{{survexblock}}</a>