mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
@@ -14,6 +14,14 @@
|
|||||||
|
|
||||||
<hr>
|
<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>
|
<dl>
|
||||||
{% if person.gender %}
|
{% if person.gender %}
|
||||||
<dt>Gender</dt>
|
<dt>Gender</dt>
|
||||||
@@ -69,6 +77,7 @@
|
|||||||
</dd>
|
</dd>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</dl>
|
</dl>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<a class="btn btn-success"
|
<a class="btn btn-success"
|
||||||
href="{% url 'people:person.update' pk=person.pk %}">Update</a>
|
href="{% url 'people:person.update' pk=person.pk %}">Update</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user