diff --git a/app/views/idv/in_person/ready_to_verify/show.html.erb b/app/views/idv/in_person/ready_to_verify/show.html.erb index f8217e12978..ec01d74f753 100644 --- a/app/views/idv/in_person/ready_to_verify/show.html.erb +++ b/app/views/idv/in_person/ready_to_verify/show.html.erb @@ -15,6 +15,10 @@ <% end %> <% end %> +<%= render AlertComponent.new(type: :success, class: 'margin-bottom-4') do %> + <%= t('in_person_proofing.body.barcode.email_sent') %> +<% end %> + <%= render PageHeadingComponent.new(class: 'text-center') do %> <%= @presenter.barcode_heading_text %> <% end %> @@ -190,8 +194,6 @@
<%= t('in_person_proofing.body.expect.info') %>
-<%= t('in_person_proofing.body.barcode.email_sent') %>
-<% if @presenter.service_provider_homepage_url.present? %> <%= render ClickObserverComponent.new(event_name: 'IdV: user clicked sp link on ready to verify page') do %> diff --git a/config/locales/en.yml b/config/locales/en.yml index de6f43b8e2d..366bddb0103 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1179,7 +1179,7 @@ in_person_proofing.body.barcode.close_window: You may now close this window. in_person_proofing.body.barcode.deadline: You must visit any participating Post Office by %{deadline}. in_person_proofing.body.barcode.deadline_restart: If you go after this deadline, your information will not be saved and you will need to restart the process. in_person_proofing.body.barcode.eipp_what_to_bring: 'Depending on your ID, you may need to show supporting documents. Review the following options carefully:' -in_person_proofing.body.barcode.email_sent: We have sent this information to the email you used to sign in. +in_person_proofing.body.barcode.email_sent: We have sent your barcode and the information below to the email you used to sign in in_person_proofing.body.barcode.learn_more: Learn more about what to bring in_person_proofing.body.barcode.location_details: Location details in_person_proofing.body.barcode.questions: Questions? diff --git a/config/locales/es.yml b/config/locales/es.yml index 68090958185..81196bde41f 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -1190,7 +1190,7 @@ in_person_proofing.body.barcode.close_window: Ya puede cerrar esta ventana. in_person_proofing.body.barcode.deadline: Debe acudir a cualquier oficina de correos participante antes del %{deadline} in_person_proofing.body.barcode.deadline_restart: Si vence el plazo, su información no se guardará y tendrá que reiniciar el proceso. in_person_proofing.body.barcode.eipp_what_to_bring: 'Según el tipo de identificación que tenga, es posible que deba presentar documentos comprobatorios. Lea con atención las opciones siguientes:' -in_person_proofing.body.barcode.email_sent: Enviamos esta información al correo electrónico que usó para iniciar sesión. +in_person_proofing.body.barcode.email_sent: Enviamos el código de barras y la información más abajo al correo electrónico que usó para iniciar sesión in_person_proofing.body.barcode.learn_more: Obtenga más información sobre lo que debe llevar in_person_proofing.body.barcode.location_details: Detalles del lugar in_person_proofing.body.barcode.questions: '¿Tiene alguna pregunta?' diff --git a/config/locales/fr.yml b/config/locales/fr.yml index cdc4472e4e3..10b98098ff0 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -1179,7 +1179,7 @@ in_person_proofing.body.barcode.close_window: Vous pouvez maintenant fermer cett in_person_proofing.body.barcode.deadline: Vous devez vous rendre dans un bureau de poste participant avant le %{deadline} in_person_proofing.body.barcode.deadline_restart: Si vous y allez après cette date limite, vos informations ne seront pas sauvegardées et vous devrez recommencer le processus. in_person_proofing.body.barcode.eipp_what_to_bring: 'Selon la pièce d’identité dont vous disposez, il pourra vous être demandé de présenter des documents complémentaires. Étudiez attentivement les options suivantes:' -in_person_proofing.body.barcode.email_sent: Nous avons envoyé ces informations à l’adresse e-mail que vous avez utilisée pour vous connecter. +in_person_proofing.body.barcode.email_sent: Nous avons envoyé votre code-barre et les informations ci-dessous à l’adresse e-mail que vous avez utilisée pour vous connecter in_person_proofing.body.barcode.learn_more: En savoir davantage sur ce qu’il faut apporter. in_person_proofing.body.barcode.location_details: Détails de l’emplacement in_person_proofing.body.barcode.questions: Des questions ? diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 25c9482e344..e2bf5f9fd1d 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -1190,7 +1190,7 @@ in_person_proofing.body.barcode.close_window: 你现在可以关闭这一窗口 in_person_proofing.body.barcode.deadline: 你必须在 %{deadline}之前去任何参与邮局。 in_person_proofing.body.barcode.deadline_restart: 如果你在截止日期后才去邮局,你的信息不会被存储,你又得从头开始这一过程。 in_person_proofing.body.barcode.eipp_what_to_bring: 取决于您身份证件类型,您也许需要显示支持文件。请仔细阅读以下选项: -in_person_proofing.body.barcode.email_sent: 我们已将该信息发送到你用来登录的电邮。 +in_person_proofing.body.barcode.email_sent: 我们已将条形码和以下信息发到了您用来登录的电邮地址 in_person_proofing.body.barcode.learn_more: 了解有关携带物品的更多信息 in_person_proofing.body.barcode.location_details: 详细地址信息 in_person_proofing.body.barcode.questions: 有问题吗? diff --git a/spec/views/idv/in_person/ready_to_verify/show.html.erb_spec.rb b/spec/views/idv/in_person/ready_to_verify/show.html.erb_spec.rb index 836645b52c0..f5dbb0eec9d 100644 --- a/spec/views/idv/in_person/ready_to_verify/show.html.erb_spec.rb +++ b/spec/views/idv/in_person/ready_to_verify/show.html.erb_spec.rb @@ -180,6 +180,12 @@ ).once end + it 'renders the email sent success alert' do + render + + expect(rendered).to have_content(t('in_person_proofing.body.barcode.email_sent')) + end + it 'template does not display Enhanced In-Person Proofing specific content' do render @@ -251,6 +257,12 @@ ).once end + it 'renders the email sent success alert' do + render + + expect(rendered).to have_content(t('in_person_proofing.body.barcode.email_sent')) + end + context 'template displays additional (EIPP specific) content' do it 'renders What to bring section' do render