Adds user admin view

This commit is contained in:
Mouse Reeve
2021-04-19 15:40:51 -07:00
parent 0dd8b33991
commit 1542866b6c
6 changed files with 29 additions and 8 deletions

View File

@ -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>