master merge
[auf_rh_dae.git] / project / templates / actions.html
CommitLineData
fc4bf7a7
DB
1<ul>
2 {% if user.is_authenticated %}
3 <li class="username">{{ user }}</li>
4 {% if perms.recrutement or user_in_dae_groupes or perms.rh %}
5 <li><a href="{% url admin:index %}">Administration</a></li>
6 {% endif %}
7 <li><a href="{% url django.contrib.auth.views.logout %}?next=/">Déconnexion</a></li>
8 {% else %}
9 <li><a href="{% url django.contrib.auth.views.login %}?next={{request.path}}">Connexion</a></li>
10 {% endif %}
11</ul>