2020-01-21 06:35:58 +00:00
|
|
|
{% extends "user/users-table.html" %}
|
|
|
|
|
|
|
|
{% block before_point_head %}
|
2023-01-27 23:11:10 +00:00
|
|
|
{% if can_edit %}
|
|
|
|
<th class="header"></th>
|
|
|
|
{% endif %}
|
2020-01-21 06:35:58 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block before_point %}
|
2023-01-27 23:11:10 +00:00
|
|
|
{% if can_edit %}
|
|
|
|
<td>
|
2024-08-13 10:42:51 +00:00
|
|
|
{% if not organization.is_admin(user) %}
|
|
|
|
<form action="{{ kick_url }}" method="POST" class="kick-form">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input type="hidden" name="user" value="{{ user.id }}">
|
|
|
|
<a href="#" class="button small">{{ _('Kick') }}</a>
|
|
|
|
</form>
|
|
|
|
{% else %}
|
|
|
|
{{ _("Admin") }}
|
|
|
|
{% endif %}
|
2023-01-27 23:11:10 +00:00
|
|
|
</td>
|
|
|
|
{% endif %}
|
2020-01-21 06:35:58 +00:00
|
|
|
{% endblock %}
|