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

{% block user-info %}
{% skeleton_extra_placeholder user-info %}
          {% if user.is_authenticated %}
          <span class="logged-in">
            {% if idp_account_url %}<a href="{{idp_account_url}}">{% endif %}
            <span class="connected-user">{{user.first_name}} {{user.last_name}}</span>{% if idp_account_url %}</a>{% endif %}
            <a accesskey="o" class="logout" href="{% url 'auth_logout' %}">D&eacute;connexion</a>
          </span>
          {% else %}
            {% if idp_registration_url %}
            <span class="login"><a accesskey="2" href="{% url 'auth_login' %}">Connexion</a>
              {% if wallonie_connect == 'usagers' %}
              <a class="registration" href="{{idp_registration_url}}">Inscription</a></span>
	      {% endif %}
            {% else %}
	    <span class="login"><a accesskey="2" href="{% url 'auth_login' %}">Connexion{% if wallonie_connect == 'usagers' %}   Inscription{% endif %}</a></span>
            {% endif %}
          {% endif %}
{% end_skeleton_extra_placeholder %}
{% endblock %}