authentic/src/authentic2/manager/templates/authentic2/manager/role_members_table.html

11 lines
613 B
HTML

{% extends "authentic2/manager/table.html" %}
{% load i18n %}
{% block table.head.last.column %}
<th></th>
{% endblock %}
{% block table.tbody.last.column %}
<td class="remove-icon-column">{% if table.context.view.can_manage_members and row.record.direct %}<a class="js-remove-object" data-confirm="{% blocktrans with username=row.record.get_full_name role=table.context.object %}Do you really want to remove user &quot;{{ username }}&quot; from role &quot;{{ role }}&quot;?{% endblocktrans %}" href="#" data-pk-arg="user"><span class="icon-remove-sign"></span></a>{% endif %}</td>
{% endblock %}