diff --git a/static/grandlyon-cut/_custom.scss b/static/grandlyon-cut/_custom.scss index c8e9a17..819aa0b 100644 --- a/static/grandlyon-cut/_custom.scss +++ b/static/grandlyon-cut/_custom.scss @@ -418,6 +418,12 @@ div#main-content { } } div#methods { + div#fc-button-wrapper { + margin-bottom: 0; + } + div#fc-explanation-text { + margin-top: 0; + } width: 60em; margin: 2ex auto; @media screen and (max-width: $common-screen-width) { diff --git a/templates/authentic2/login.html b/templates/authentic2/login.html index 17ae1d5..ac300b5 100644 --- a/templates/authentic2/login.html +++ b/templates/authentic2/login.html @@ -45,14 +45,7 @@
{% if not user.is_authenticated and not request.session.fc_id_token %} {% for name, content in methods %} -

- {% if not forloop.last %} - Utilisez votre courriel et votre mot de passe pour accéder à votre {{ account_label }} - {% else %} - Utilisez FranceConnect - pour accéder à votre {{ account_label }} - {% endif %} -

+ {{ content|safe }}
{% if not forloop.last %} diff --git a/templates/authentic2_auth_fc/explanation.html b/templates/authentic2_auth_fc/explanation.html new file mode 100644 index 0000000..5995771 --- /dev/null +++ b/templates/authentic2_auth_fc/explanation.html @@ -0,0 +1,8 @@ +{% load i18n %} +{% block fc-explanation %} +
+

+ {% trans "What is FranceConnect?" %} +

+
+{% endblock %} diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html index 7e7f0ab..9728f2d 100644 --- a/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html @@ -5,14 +5,17 @@ {% include "registration/registration_steps.html" with active_step="creation" %}
-

Créez votre {{ account_label }}

+

Créer un {{ account_label }}

+

+ GRANDLYON Connect, un service de la Métropole de Lyon. Avec un seul compte, vous
+ avez accès à différents services en ligne du territoire.{% if support_url %} En savoir plus sur nos partenaires{% endif %}. +

{% for id, block in frontends.items %}
-

Utilisez votre courriel pour créer votre {{ account_label }}

{% csrf_token %} {{ form.as_p }} @@ -27,7 +30,6 @@
{% trans "OU" %}
-

Utilisez FranceConnect pour créer votre {{ account_label }}

{% for id, block in frontends.items %}
@@ -39,9 +41,9 @@
-
{% endblock %}