Adds user admin view
This commit is contained in:
parent
0dd8b33991
commit
1542866b6c
6 changed files with 29 additions and 8 deletions
|
@ -5,7 +5,7 @@
|
|||
<p class="mr-1">
|
||||
<a class="button" href="{% url 'direct-messages-user' user.username %}">{% trans "Send direct message" %}</a>
|
||||
</p>
|
||||
<form name="deactivate" method="post" action="{% url 'settings-report-deactivate' report.id %}">
|
||||
<form name="deactivate" method="post" action="">
|
||||
{% csrf_token %}
|
||||
{% if user.is_active %}
|
||||
<button type="submit" class="button is-danger is-light">{% trans "Deactivate user" %}</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue