{% extends "includes/nav.html" %}

{% block menu %}
<ul>
{{ block.super }}
{% skeleton_extra_placeholder user-info %}
{% if user.is_authenticated %}
<li><a class="account-link" href="{{ account_url }}">{{user.first_name}} {{user.last_name}}</a></li>
<li><a accesskey="o" class="logout" href="{{ logout_url }}">Déconnexion</a></li>
{% else %}
<li><a accesskey="2" class="login-link" href="{{ login_url }}">Se connecter</a></li>
{% if registration_url and include_registration_link != False %}
<li><a class="registration" href="{{registration_url}}">Créer un compte</a></li>
{% endif %}
{% endif %}
{% end_skeleton_extra_placeholder %}
</ul>
{% endblock %}
