From 749f07b55cad358473eb32094d080b57546624ca Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 26 Sep 2018 23:15:32 +0200 Subject: [PATCH] merge change in authentic2-auth-fc (fixes #26764) --- templates/authentic2_auth_fc/connecting.html | 26 ------------------- templates/authentic2_auth_fc/login.html | 17 ++++++++++++ .../login_registration.html | 15 +++++++++++ 3 files changed, 32 insertions(+), 26 deletions(-) delete mode 100644 templates/authentic2_auth_fc/connecting.html create mode 100644 templates/authentic2_auth_fc/login.html create mode 100644 templates/authentic2_auth_fc/login_registration.html diff --git a/templates/authentic2_auth_fc/connecting.html b/templates/authentic2_auth_fc/connecting.html deleted file mode 100644 index 4e94b66..0000000 --- a/templates/authentic2_auth_fc/connecting.html +++ /dev/null @@ -1,26 +0,0 @@ -{% load staticfiles %} -{% load i18n %} - -{% if 'nofc' not in request.GET %} -
-
- {% if not fc_user_info %} -
{% trans 'Log in with FranceConnect' %}
- {% block fc-explanation %} -

{% trans "What is FranceConnect?" %}

-

{% blocktrans %} - FranceConnect is the solution proposed by the French state to streamline - logging in online services. You can use to connect to your account. - {% endblocktrans %}

- {% endblock %} - {% else %} -

Je n'ai pas encore de {{ account_label }}

-

Création de mon {{ account_label }} à partir des données reçues de FranceConnect.

- {{ fc_user_info.given_name }} {{ fc_user_info.family_name }}{% if fc_user_info.email %}
{{ fc_user_info.email }}{% endif %}
-
- Valider -
- {% endif %} -
-
-{% endif %} diff --git a/templates/authentic2_auth_fc/login.html b/templates/authentic2_auth_fc/login.html new file mode 100644 index 0000000..63ff773 --- /dev/null +++ b/templates/authentic2_auth_fc/login.html @@ -0,0 +1,17 @@ +{% load staticfiles %} +{% load i18n %} + + +
+ +
+{% include "authentic2_auth_fc/explanation.html" %} +{% if popup %}{% endif %} diff --git a/templates/authentic2_auth_fc/login_registration.html b/templates/authentic2_auth_fc/login_registration.html new file mode 100644 index 0000000..bbe36ff --- /dev/null +++ b/templates/authentic2_auth_fc/login_registration.html @@ -0,0 +1,15 @@ +{% load staticfiles %} +{% load i18n %} + +
+
+

Je n'ai pas encore de {{ account_label }}

+

Création de mon {{ account_label }} à partir des données reçues de FranceConnect.

+ {{ fc_user_info.given_name }} {{ fc_user_info.family_name }}{% if fc_user_info.email %}
{{ fc_user_info.email }}{% endif %}
+
+ Valider +
+
+
+{% include "authentic2_auth_fc/explanation.html" %} +{% if popup %}{% endif %}