15 lines
850 B
HTML
15 lines
850 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_change and row.record.member %}
|
|
<a class="{% if not row.record.can_manage_members %} disabled {% else %} js-remove-object {% endif %}" data-confirm="{% blocktrans with name=row.record.name username=table.context.object.get_full_name %}Do you really want to remove role "{{ name }}" from user "{{ username }}"?{% endblocktrans %}" href="#" data-pk-arg="role" title="{% if not row.record.can_manage_members %}{% trans "This role is synchronised from LDAP, changing members is not allowed." %}{% endif %}"><span class="icon-remove-sign"></span></a>
|
|
{% endif %}
|
|
</td>
|
|
{% endblock %}
|