mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
@@ -68,7 +68,7 @@
|
|||||||
href="{% url 'password_change' %}?next={{ person.get_absolute_url }}">Change Password</a>
|
href="{% url 'password_change' %}?next={{ person.get_absolute_url }}">Change Password</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if request.user.is_superuser and person.user %}
|
{% if request.user.is_superuser and person.user and person.user != request.user %}
|
||||||
<form style="display: inline;" action="/hijack/{{ person.user.pk }}/" method="post">
|
<form style="display: inline;" action="/hijack/{{ person.user.pk }}/" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<button class="btn btn-warning" type="submit">Become {{ person.name }}</button>
|
<button class="btn btn-warning" type="submit">Become {{ person.name }}</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user