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:
commit
697e2328e3
3 changed files with 24 additions and 38 deletions
|
@ -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)
|
|
||||||
|
|
|
@ -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.'
|
||||||
|
|
|
@ -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 l’adresse <strong>%{email}</strong>, nous vous avons envoyé un email."
|
email_sent_html: "Si un compte existe avec l’adresse <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 l’email pour changer votre mot de passe."
|
|
||||||
no_mail: "Vous n’avez pas reçu l’email ?"
|
no_mail: "Vous n’avez pas reçu l’email ?"
|
||||||
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 l’adresse %{email} ? Si aucun compte n’existe avec cette adresse, vous ne recevrez pas de message."
|
check_account_html: "Avez-vous bien créé un compte <strong>%{application_name}</strong> avec l’adresse <strong>%{email}</strong> ? Si aucun compte n’existe 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 d’inactivité prolongée et sans dossier en cours. Dans ce cas vous devrez recréer un compte à partir d’une démarche."
|
check_gpdr: "Le compte a pu être supprimé en cas d’inactivité prolongée et sans dossier en cours. Dans ce cas vous devrez recréer un compte à partir d’une 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."
|
||||||
|
|
Loading…
Reference in a new issue