diff --git a/lacommunaute/pages/tests/__snapshots__/test_homepage.ambr b/lacommunaute/pages/tests/__snapshots__/test_homepage.ambr index 37894f351..e3889bf3c 100644 --- a/lacommunaute/pages/tests/__snapshots__/test_homepage.ambr +++ b/lacommunaute/pages/tests/__snapshots__/test_homepage.ambr @@ -166,8 +166,8 @@
  • - Se connecter | S'inscrire -
  • + Login | Sign in + diff --git a/lacommunaute/surveys/tests/test_views.py b/lacommunaute/surveys/tests/test_views.py index a974223f0..7726530d5 100644 --- a/lacommunaute/surveys/tests/test_views.py +++ b/lacommunaute/surveys/tests/test_views.py @@ -23,7 +23,7 @@ location_field_list = ["location", "city_code"] form_html = '
    ' -login_with_next_url = reverse("openid_connect:authorize") + "?next=" + reverse("surveys:dsp_create") +login_with_next_url = reverse("members:login") + "?next=" + reverse("surveys:dsp_create") class TestDSPCreateView: diff --git a/lacommunaute/templates/partials/header.html b/lacommunaute/templates/partials/header.html index 8a7f70065..a55c61392 100644 --- a/lacommunaute/templates/partials/header.html +++ b/lacommunaute/templates/partials/header.html @@ -110,9 +110,7 @@ {% else %} -
  • - Se connecter | S'inscrire -
  • +
  • {% include "registration/includes/login_signin_link.html" %}
  • {% endif %} diff --git a/lacommunaute/templates/registration/includes/login_signin_link.html b/lacommunaute/templates/registration/includes/login_signin_link.html new file mode 100644 index 000000000..b55d63aee --- /dev/null +++ b/lacommunaute/templates/registration/includes/login_signin_link.html @@ -0,0 +1,2 @@ +{% load i18n %} +{% trans "Login | Sign in" %} diff --git a/lacommunaute/templates/surveys/dsp_form.html b/lacommunaute/templates/surveys/dsp_form.html index 8add61e34..e075716cc 100644 --- a/lacommunaute/templates/surveys/dsp_form.html +++ b/lacommunaute/templates/surveys/dsp_form.html @@ -66,9 +66,7 @@

    Diagnostic Parcours IAE

    Je me connecte pour accéder à l'aide au diagnostic pour le parcours IAE
    - +
    {% include "registration/includes/login_signin_link.html" %}