diff --git a/.gitignore b/.gitignore
index 2508438..5a7cc0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,4 @@ deployment-key.pub
# Deployment
.vagrant/
staging.yml
+/.dbbackup/
diff --git a/breccia_mapper/templates/base.html b/breccia_mapper/templates/base.html
index 6474fca..e840c53 100644
--- a/breccia_mapper/templates/base.html
+++ b/breccia_mapper/templates/base.html
@@ -127,6 +127,17 @@
{% endif %}
+ {% if request.user.is_authenticated and not request.user.has_person %}
+
+
+ Your profile is currently blank. Please fill in your details so you can be part of the network.
+
+ Profile
+
+
+ {% endif %}
+
{% block before_content %}{% endblock %}
diff --git a/people/models.py b/people/models.py
index ff68f98..9dbf32b 100644
--- a/people/models.py
+++ b/people/models.py
@@ -15,6 +15,16 @@ class User(AbstractUser):
"""
Custom user model in case we need to make changes later.
"""
+ def has_person(self) -> bool:
+ """
+ Does this user have a linked :class:`Person` record?
+ """
+ try:
+ person = self.person
+ return True
+
+ except Person.DoesNotExist:
+ return False
class Organisation(models.Model):
diff --git a/people/templates/people/person/detail.html b/people/templates/people/person/detail.html
index 6886a30..1d68b5e 100644
--- a/people/templates/people/person/detail.html
+++ b/people/templates/people/person/detail.html
@@ -66,6 +66,9 @@
Update
+ Change Password
+