diff --git a/users/templates/users/school.html b/users/templates/users/school.html index a39b58e..0c65b40 100644 --- a/users/templates/users/school.html +++ b/users/templates/users/school.html @@ -7,6 +7,7 @@ Éditer +{% if manager_right in perms %}
{{member.last_name}} | -{{member.first_name}} | -{{member.username}} | -- - - Supprimer - - | +
{{member.last_name}} | +{{member.first_name}} | +{{member.username}} | ++ {% if member in manager_group.user_set.all %} + + + Enlever le privilège Administrateur + + {% else %} + + + Promouvoir administrateur + + {% endif %} + | +