From 52c0ab213a6346f3ca5028d13ddbe11aa75aff8d Mon Sep 17 00:00:00 2001
From: Philip Sargent
Date: Tue, 11 Oct 2022 21:47:18 +0300
Subject: [PATCH] Person twiddles
---
core/views/logbooks.py | 2 +-
templates/person.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/views/logbooks.py b/core/views/logbooks.py
index f24653c..f26a850 100644
--- a/core/views/logbooks.py
+++ b/core/views/logbooks.py
@@ -141,7 +141,7 @@ def person(request, first_name='', last_name='', ):
this_person = Person.objects.get(first_name = first_name, last_name = last_name)
return render(request,'person.html', {'person': this_person, })
except:
- message = f'Person not found \'{first_name} {last_name}\' - possibly Scottish? (We have a name parser issue with Mc, Mac etc.)'
+ message = f'Person not found \'{first_name} {last_name}\' - possibly Scottish? (See our Proposal to fix this)'
return render(request, 'errors/generic.html', {'message': message})
diff --git a/templates/person.html b/templates/person.html
index d390b80..1216c60 100644
--- a/templates/person.html
+++ b/templates/person.html
@@ -28,7 +28,7 @@
Surveys done
-Wallets and surveys mentioning {{person}}
+Wallets and surveys mentioning {{person}}
{% if person.blurb %}
{{person.blurb|safe}}