NDOJ/templates/organization/users-table.html
2024-08-13 17:42:51 +07:00

23 lines
591 B
HTML

{% extends "user/users-table.html" %}
{% block before_point_head %}
{% if can_edit %}
<th class="header"></th>
{% endif %}
{% endblock %}
{% block before_point %}
{% if can_edit %}
<td>
{% 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 %}
</td>
{% endif %}
{% endblock %}