manager: use correct manage members flag name (#44939)

This commit is contained in:
Valentin Deniaud 2020-07-08 14:05:23 +02:00 committed by Benjamin Dauvergne
parent 9a2bb3b370
commit 9d377b3b21
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
{% block table.tbody.last.column %}
<td>
{% if table.context.view.can_change and row.record.member %}
<a class="icon-remove-sign {% if not row.record.allow_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 &quot;{{ name }}&quot; from user &quot;{{ username }}&quot;&nbsp;?{% endblocktrans %}" href="#" data-pk-arg="role" title="{% if not row.record.allow_manage_members %}{% trans "This role is synchronised from LDAP, changing members is not allowed." %}{% endif %}"></a>
<a class="icon-remove-sign {% 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 &quot;{{ name }}&quot; from user &quot;{{ username }}&quot;&nbsp;?{% 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 %}"></a>
{% endif %}
</td>
{% endblock %}