{% extends "includes/user-info.html" %}

{% block user-info %}
  {% if user.is_authenticated %}
    <li class="toplinks--list-item">
      <a class="hello" href="{{ account_url }}"><span>Bonjour {{ user.first_name }}</span></a>
    </li>
    <li class="toplinks--list-item"><a accesskey="o" class="logout" href="{{ logout_url }}">Déconnexion</a></li>
  {% else %}
    <li class="toplinks--list-item"><a class="login" href="{{ login_url }}">Connexion</a>
    </li><li class="toplinks--list-item"><a class="registration" href="{{ registration_url }}">Inscription</a></li>
  {% endif %}
  <li class="toplinks--list-item"><a class="home" href="{{ portal_url }}">Accueil</a></li>
{% endblock %}
