feat(people): Add notice to fill in user details

This commit is contained in:
James Graham
2020-03-03 09:55:47 +00:00
parent 7ee7ed3ff0
commit e3ef4ed90c
4 changed files with 25 additions and 0 deletions

View File

@@ -127,6 +127,17 @@
</div>
{% endif %}
{% if request.user.is_authenticated and not request.user.has_person %}
<div class="alert alert-info rounded-0" role="alert">
<p class="text-center mb-0">
Your profile is currently blank. Please fill in your details so you can be part of the network.
<a class="btn btn-success"
href="{% url 'people:person.create' %}?user">Profile</a>
</p>
</div>
{% endif %}
{% block before_content %}{% endblock %}
<main class="container">