{% if user.is_authenticated %}
                {% if not user|is_member:"BDE" %}
                    
        {% block content %}
            
                        {% trans "You are not a BDE member anymore. Please renew your membership if you want to use the note." %}
                    
                {% elif not user|is_member:"Kfet" %}
                    
                        {% trans "You are not a Kfet member, so you can't use your note account." %}
                    
                {% 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 registration bonus of 80 € is not credited and the membership is 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 #}
        Default content...
{% endblock %}