Merge pull request #10777 from demarches-simplifiees/improve-wording-reset-link-pwd-ldu

ETQ usager, améliore la page après envoi du mot de passe oublié
This commit is contained in:
Lisa Durand 2024-09-12 14:37:48 +00:00 committed by GitHub
commit 697e2328e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 24 additions and 38 deletions

View file

@ -3,30 +3,21 @@
- content_for :footer do
= render partial: 'root/footer'
.fr-container.fr-mt-4w.fr-mb-3w
.fr-container.fr-my-4w
.fr-grid-row.fr-grid-row--center
.fr-col-12.fr-col-md-9.fr-col-lg-7
.center
= image_tag('user/confirmation-email.svg', alt: "")
%h1.fr-mb-6w
= t('views.users.passwords.reset_link_sent.got_it')
%br
= t('views.users.passwords.reset_link_sent.open_your_mailbox')
.fr-callout.fr-callout--green-emeraude.fr-mb-6w
%p.fr-callout__text.fr-mb-2w
%h1.fr-h2
= t('views.users.passwords.reset_link_sent.email_sent_html', email: @email, application_name: Current.application_name)
%p.fr-callout__text.fr-mb-2w
= t('views.users.passwords.reset_link_sent.click_link_to_reset_password')
%p.fr-callout__text
= t('views.users.shared.email_can_take_a_while_html')
%h2= t('views.users.passwords.reset_link_sent.no_mail')
= render Dsfr::AlertComponent.new(title: t('views.users.passwords.reset_link_sent.no_mail'), state: '', extra_class_names: 'fr-alert--info' ) do |c|
- c.with_body do
%ol
%li
= t('views.users.shared.email_can_take_a_while_html')
%li
= t('views.users.passwords.reset_link_sent.check_spams')
%li
= t('views.users.passwords.reset_link_sent.check_account', email: @email, application_name: Current.application_name)
= t('views.users.passwords.reset_link_sent.check_account_html', email: @email, application_name: Current.application_name)
- if FranceConnectService.enabled?
%li
= t('views.users.passwords.reset_link_sent.check_france_connect_html', href: france_connect_particulier_path)

View file

@ -574,15 +574,13 @@ en:
submit: Change password
submit_loading: Sending…
reset_link_sent:
got_it: Got it!
open_your_mailbox: Now open your mailbox.
email_sent_html: "If a <strong>%{application_name}</strong> account exists with the address <strong>%{email}</strong>, we have sent you an email."
click_link_to_reset_password: Click on the link in the email to change your password.
email_sent_html: "If an account exists with the address <strong>%{email}</strong>, we have sent you an email."
no_mail: Didn't receive the email?
check_spams: Check your junk or spam email.
check_account: Have you created a %{application_name} account with the adress %{email}? You will not receive any message if no account is linked to your email adress.
check_account_html: Have you created a <strong> %{application_name} </strong>account with the adress <strong> %{email}</strong>? You will not receive any message if no account is linked to your email adress.
check_france_connect_html: Have you once logged in with France Connect? If yes, <a href=\"%{href}\">try again with France Connect</a>.
check_gpdr: "The account may have been deleted in the event of prolonged inactivity and no current file. In this case you will have to recreate an account from a procedure."
title: "Password reset link sent"
shared:
email_can_take_a_while_html: <strong>Please note</strong> that this email can take up to 15 minutes to arrive.
contact_us_if_any_trouble_html: 'You can contact us <a href="%{href}">through this form</a> if a problem still exists.'

View file

@ -577,15 +577,12 @@ fr:
submit: Changer le mot de passe
submit_loading: Envoi…
reset_link_sent:
email_sent_html: "Si un compte <strong>%{application_name}</strong> existe avec ladresse <strong>%{email}</strong>, nous vous avons envoyé un email."
click_link_to_reset_password: "Cliquez sur le lien contenu dans lemail pour changer votre mot de passe."
email_sent_html: "Si un compte existe avec ladresse <strong>%{email}</strong>, nous vous avons envoyé un email pour réinitialiser votre mot de passe."
no_mail: "Vous navez pas reçu lemail ?"
check_spams: "Vérifiez la boite Indésirables ou Spam de votre boite email."
check_account: "Avez-vous bien créé un compte %{application_name} avec ladresse %{email} ? Si aucun compte nexiste avec cette adresse, vous ne recevrez pas de message."
check_account_html: "Avez-vous bien créé un compte <strong>%{application_name}</strong> avec ladresse <strong>%{email}</strong> ? Si aucun compte nexiste avec cette adresse, vous ne recevrez pas de message."
check_france_connect_html: "Vous êtes-vous connecté avec France Connect par le passé ? Dans ce cas <a href=\"%{href}\">essayez à nouveau avec France Connect</a>."
check_gpdr: "Le compte a pu être supprimé en cas dinactivité prolongée et sans dossier en cours. Dans ce cas vous devrez recréer un compte à partir dune démarche."
got_it: "Bien reçu !"
open_your_mailbox: "Maintenant ouvrez votre boite email."
title: "Lien de réinitialisation du mot de passe envoyé"
shared:
email_can_take_a_while_html: "<strong>Attention</strong>, ce courriel peut mettre jusquà <strong>15 minutes</strong> pour arriver."