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,34 +3,25 @@
- content_for :footer do - content_for :footer do
= render partial: 'root/footer' = 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-grid-row.fr-grid-row--center
.fr-col-12.fr-col-md-9.fr-col-lg-7 .fr-col-12.fr-col-md-9.fr-col-lg-7
.center %h1.fr-h2
= image_tag('user/confirmation-email.svg', alt: "") = t('views.users.passwords.reset_link_sent.email_sent_html', email: @email, application_name: Current.application_name)
%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 = render Dsfr::AlertComponent.new(title: t('views.users.passwords.reset_link_sent.no_mail'), state: '', extra_class_names: 'fr-alert--info' ) do |c|
%p.fr-callout__text.fr-mb-2w - c.with_body do
= t('views.users.passwords.reset_link_sent.email_sent_html', email: @email, application_name: Current.application_name) %ol
%p.fr-callout__text.fr-mb-2w %li
= t('views.users.passwords.reset_link_sent.click_link_to_reset_password') = t('views.users.shared.email_can_take_a_while_html')
%p.fr-callout__text %li
= t('views.users.shared.email_can_take_a_while_html') = t('views.users.passwords.reset_link_sent.check_spams')
%li
%h2= t('views.users.passwords.reset_link_sent.no_mail') = t('views.users.passwords.reset_link_sent.check_account_html', email: @email, application_name: Current.application_name)
%ol - if FranceConnectService.enabled?
%li %li
= t('views.users.passwords.reset_link_sent.check_spams') = t('views.users.passwords.reset_link_sent.check_france_connect_html', href: france_connect_particulier_path)
%li %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_gpdr')
- if FranceConnectService.enabled? %p
%li = t('views.users.shared.contact_us_if_any_trouble_html', href: contact_url)
= t('views.users.passwords.reset_link_sent.check_france_connect_html', href: france_connect_particulier_path)
%li
= t('views.users.passwords.reset_link_sent.check_gpdr')
%p
= t('views.users.shared.contact_us_if_any_trouble_html', href: contact_url)

View file

@ -574,15 +574,13 @@ en:
submit: Change password submit: Change password
submit_loading: Sending… submit_loading: Sending…
reset_link_sent: reset_link_sent:
got_it: Got it! email_sent_html: "If an account exists with the address <strong>%{email}</strong>, we have sent you an email."
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.
no_mail: Didn't receive the email? no_mail: Didn't receive the email?
check_spams: Check your junk or spam 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_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." 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: shared:
email_can_take_a_while_html: <strong>Please note</strong> that this email can take up to 15 minutes to arrive. 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.' 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: Changer le mot de passe
submit_loading: Envoi… submit_loading: Envoi…
reset_link_sent: 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." 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."
click_link_to_reset_password: "Cliquez sur le lien contenu dans lemail pour changer votre mot de passe."
no_mail: "Vous navez pas reçu lemail ?" no_mail: "Vous navez pas reçu lemail ?"
check_spams: "Vérifiez la boite Indésirables ou Spam de votre boite email." 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_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." 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é" title: "Lien de réinitialisation du mot de passe envoyé"
shared: shared:
email_can_take_a_while_html: "<strong>Attention</strong>, ce courriel peut mettre jusquà <strong>15 minutes</strong> pour arriver." email_can_take_a_while_html: "<strong>Attention</strong>, ce courriel peut mettre jusquà <strong>15 minutes</strong> pour arriver."