2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00

linki to wallets for a person

This commit is contained in:
Philip Sargent 2024-08-04 00:55:19 +03:00
parent c1f9a26f5b
commit 490fb61571
2 changed files with 4 additions and 4 deletions

View File

@ -42,10 +42,10 @@ and click on the "Run 'cavern' on this SVX file" button at the bottom of the pag
<td style="padding:2px"> <td style="padding:2px">
{% if wallet.slugpeople %} {% if wallet.slugpeople %}
<em>{%for p in wallet.slugpeople%}<a href="/person/{{p.slug}}">{{p.fullname}}</a>{%if not forloop.last %}, {% endif %}{% endfor %}</em> <em>{%for p in wallet.slugpeople%}<a href="/wallets/person/{{p.slug}}">{{p.fullname}}</a>{%if not forloop.last %}, {% endif %}{% endfor %}</em>
{% endif %} {% endif %}
{%for p in wallet.peeps%} {%for p in wallet.peeps%}
<a href="/person/{{p.slug}}">{{p.fullname}}</a>{%if not forloop.last %}, {% endif %} <a href="/wallets/person/{{p.slug}}">{{p.fullname}}</a>{%if not forloop.last %}, {% endif %}
{% endfor %} {% endfor %}
</td> </td>
<td align="center" style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.singlescan_set.all|length}}</a></td> <td align="center" style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.singlescan_set.all|length}}</a></td>

View File

@ -43,10 +43,10 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c
<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.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"> <td style="padding:2px">
{% if wallet.slugpeople %} {% if wallet.slugpeople %}
<em>{%for p in wallet.slugpeople%}<a href="/person/{{p.slug}}">{{p.fullname}}</a>{%if not forloop.last %}, {% endif %}{% endfor %}</em> <em>{%for p in wallet.slugpeople%}<a href="/wallets/person/{{p.slug}}">{{p.fullname}}</a>{%if not forloop.last %}, {% endif %}{% endfor %}</em>
{% endif %} {% endif %}
{%for p in wallet.peeps%} {%for p in wallet.peeps%}
<a href="/person/{{p.slug}}">{{p.fullname}}</a>{%if not forloop.last %}, {% endif %} <a href="/wallets/person/{{p.slug}}">{{p.fullname}}</a>{%if not forloop.last %}, {% endif %}
{% endfor %} {% endfor %}
<td style="padding:2px; font-family: monospace; font-size: 90%;"> <td style="padding:2px; font-family: monospace; font-size: 90%;">