NDOJ/templates/organization/users-table.html

24 lines
591 B
HTML
Raw Normal View History

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>
{% 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 %}