{% load static i18n pretty_money static getenv perms memberinfo %} {% comment %} SPDX-License-Identifier: GPL-3.0-or-later {% endcomment %} {% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %} {% block title %}{{ title }}{% endblock title %} - {{ request.site.name }} {# Favicon #} {# Bootstrap, Font Awesome and custom CSS #} {# JQuery, Bootstrap and Turbolinks JavaScript #} {# Translation in javascript files #} {# If extra ressources are needed for a form, load here #} {% if form.media %} {{ form.media }} {% endif %} {% block extracss %}{% endblock %}
{% if user.is_authenticated %} {% if not user|is_member:"BDE" %}
{% trans "You are not a BDE member anymore. Please renew your membership if you want to use the note." %}
{% endif %} {% if not user.profile.email_confirmed %}
{% trans "Your e-mail address is not validated. Please check your mail inbox and click on the validation link." %}
{% endif %} {% endif %} {% if user.sogecredit and not user.sogecredit.valid %}
{% blocktrans trimmed %} You declared that you opened a bank account in the Société générale. The bank did not validate the creation of the account to the BDE, so the membership and the WEI are not paid yet. This verification procedure may last a few days. Please make sure that you go to the end of the account creation. {% endblocktrans %}
{% endif %} {# TODO Add banners #}
{% block content %}

Default content...

{% endblock %}
{% block extrajavascript %}{% endblock %}