mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
@@ -14,6 +14,14 @@
|
||||
|
||||
<hr>
|
||||
|
||||
{% if person.user == request.user or request.user.is_superuser %}
|
||||
{% if person.user != request.user and request.user.is_superuser %}
|
||||
<div class="alert alert-warning">
|
||||
<strong>NB:</strong> You are able to see the details of this person because you are an admin.
|
||||
Regular users are not able to see this information for people other than themselves.
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<dl>
|
||||
{% if person.gender %}
|
||||
<dt>Gender</dt>
|
||||
@@ -69,6 +77,7 @@
|
||||
</dd>
|
||||
{% endif %}
|
||||
</dl>
|
||||
{% endif %}
|
||||
|
||||
<a class="btn btn-success"
|
||||
href="{% url 'people:person.update' pk=person.pk %}">Update</a>
|
||||
|
||||
Reference in New Issue
Block a user