From c3bfd50cf15c646be413b56488ecb0987d79bef5 Mon Sep 17 00:00:00 2001
From: Philip Sargent <philip.sargent@klebos.com>
Date: Tue, 11 Oct 2022 21:33:13 +0300
Subject: [PATCH] Update link to new person wallets on person page

---
 templates/personexpedition.html | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/templates/personexpedition.html b/templates/personexpedition.html
index ec7d3bc..dc2f759 100644
--- a/templates/personexpedition.html
+++ b/templates/personexpedition.html
@@ -24,10 +24,9 @@ If anyone really cares, they can always look in the original survex file
   {% endif %}
 {% endfor %}
 </p>
-<p><b>Wallet status</b>
-{% for otherpersonexpedition in personexpedition.person.personexpedition_set.all %}
-  | <a href="/expofiles/surveyscans/{{ otherpersonexpedition.expedition.year }}/{{personexpedition.person|safe}}.html">{{ otherpersonexpedition.expedition.year }}</a>
-{% endfor %}
+<p>Status of all wallets for <b>
+<a href="/wallets/person/{{personexpedition.person.first_name|safe}}{{personexpedition.person.last_name|safe}}">{{personexpedition.person}}</a>
+</b>
 </p>
 <h3>Table of all trips and surveys aligned by date</h3>
 <div>