mirror of
https://github.com/nanoy42/coope
synced 2024-11-22 11:23:11 +00:00
parent
f10309a1ce
commit
f242897793
1 changed files with 0 additions and 14 deletions
|
@ -63,20 +63,6 @@
|
||||||
{% if perms.users.can_change_user_perm %}
|
{% if perms.users.can_change_user_perm %}
|
||||||
<span class="tabulation"><a href="{% url 'users:editGroups' user.pk %}">Changer les groupes</a></span>
|
<span class="tabulation"><a href="{% url 'users:editGroups' user.pk %}">Changer les groupes</a></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if request.user.is_staff %}
|
|
||||||
{% if user.is_staff %}
|
|
||||||
<span class="tabulation"><a href="">Retirer des admins</a></span>
|
|
||||||
{% else %}
|
|
||||||
<span class="tabulation"><a href="">Ajouter aux admins</a></span>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% if request.user.is_superuser %}
|
|
||||||
{% if user.is_superuser %}
|
|
||||||
<span class="tabulation"><a href="">Retirer des superusers</a></span>
|
|
||||||
{% else %}
|
|
||||||
<span class="tabulation"><a href="">Ajouter aux superusers</a></span>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% if perms.auth.change_user %}
|
{% if perms.auth.change_user %}
|
||||||
<span class="tabulation"><a href="{% url 'users:switchActivateUser' user.pk %}">{{ user.is_active | yesno:"Désa,A"}}ctiver</a></span>
|
<span class="tabulation"><a href="{% url 'users:switchActivateUser' user.pk %}">{{ user.is_active | yesno:"Désa,A"}}ctiver</a></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue