Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit e73bb6de authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

debut affichage onglet utilisateurs

parent 5478a06a
......@@ -53,9 +53,11 @@
{{ user.username }}
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
{% if user.is_staff %}
<a class="dropdown-item" href="{% url 'users' %}">Utilisateurs</a>
{% endif %}
{% for group in user.groups.all %}
{% if group.name == "admin" %}
<a class="dropdown-item" href="{% url 'users' %}">Utilisateurs</a>
{% endif %}
{% endfor %}
<a class="dropdown-item" href="{% url 'profile' %}">Page personnelle</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{% url 'logout' %}">Se déconnecter</a>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment