{% extends "authentic2/base.html" %} {% load i18n %} {% if service_custom_appearance %} {% block extra-top-head %} {{ block.super }} {% firstof generic_service_colour service_colour service_ou_colour as colour %} {% if colour %} {% endif %} {% endblock %} {% endif %} {% block title %}Gestion du compte{% endblock %} {% block extra-body-class %}{{ block.super }} account-page{% endblock %} {% block content %} {% block before-main-content %} {{ block.super }} {% if service_custom_appearance %} {% firstof generic_service_name service.name service.ou.name as name %} {% firstof generic_service_logo_url service_logo_url service_ou_logo_url as logo_url %}

{{ name }}

{% if logo_url %} {% if service.home_url or generic_service_home_url %} {% endif %} {% if service.home_url or generic_service_home_url %} {% endif %} {% endif %}
{% endif %} {% endblock %}
{% block profile-pre %}{% endblock %}
{% block profile-top %}{% endblock %} {% block profile-data-title %}

Données du compte

{% endblock %} {% block profile-data %}
{% if attributes %} {% for attribute in attributes %}
{{ attribute.attribute.label|capfirst }}
{% if attribute.values|length == 0 %}(non spécifié) {% elif attribute.values|length == 1 %}{{ attribute.values.0 }}{% else %}
    {% for value in attribute.values %}
  • {{ value }}
  • {% endfor %}
{% endif %}
{% endfor %} {% endif %} {% if LAST_LOGIN %}
Dernière connexion
{{ LAST_LOGIN }}
{% endif %}
{% endblock %} {% block profile-bottom %}{% endblock %}
{% block profile-post %}{% endblock %}
{% block account-management-pre %}{% endblock %}
{% block account-management-top %}{% endblock %} {% block account-management-title %}

Gestion du compte

{% endblock %} {% block account-management-actions %} {% endblock %}
{% block account-management-other-blocks %} {% for id, block in frontends_block_by_id.items %} {% if id != "password" %}

{{ block.name }}

{{ block.content|safe }}
{% endif %} {% endfor %} {% endblock %} {% block account-management-post %}{% endblock %}
{% endblock %}