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

{% block user-info %}
{% skeleton_extra_placeholder user-info %}
  {% if user.is_authenticated %}
  <a class="hello" href="{{idp_account_url}}"><span>Bonjour {{ user.first_name }}</span></a><span> -
  </span><a accesskey="o" class="logout" href="{% url 'auth_logout' %}">Déconnexion</a>
  {% else %}
  <a class="login" href="{% url 'auth_login' %}">Connexion</a>
  <span class="sep"> - </span>
  <a class="registration" href="{{idp_registration_url}}">Inscription</a>
  {% endif %}
  <a class="home" href="{{ portal_url }}">Accueil</a>
{% end_skeleton_extra_placeholder %}
{% endblock %}

{% block before-main-content %}
{{ block.super }}
<div id="banner-wrapper">
  <div id="banner">
    <div class="title">
      {% block title-content %}
      <h1><a href="{{portal_url}}">Connect Metz</a></h1>
      {% endblock %}
    </div>
    {% block topside %}
    {% skeleton_extra_placeholder topside %}
    {% end_skeleton_extra_placeholder %}
    {% endblock %}
  </div>
</div>
{% endblock %}
