{% extends "combo/page_template.html" %}
{% load combo %}

{% block top-links %}{% endblock %}

{% block nav-pre %}
{% block local-user-info %}
<div id="side-user-block">
{% 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 pk-button" href="{% url 'auth_logout' %}">D&eacute;connexion</a>
          </span>
          {% else %}
            <a class="login pk-button" accesskey="2" href="{% url 'auth_login' %}">Connexion</a>
            <span class="registration">Pas de compte ? <a href="{% firstof registration_url idp_registration_url %}">S'inscrire</a></span>
          {% endif %}
{% end_skeleton_extra_placeholder %}
</div>
{% endblock %}
{% endblock %}
