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