From 6be7881c72f27fb327f54504022593d0630bb879 Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Fri, 19 Jan 2024 15:45:19 +0000 Subject: [PATCH] Fix video tracking on https://www.gov.uk/self-assessment-ready-reckoner --- app/views/transaction/show.html.erb | 7 ++++--- config/locales/cy.yml | 2 +- config/locales/en.yml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/views/transaction/show.html.erb b/app/views/transaction/show.html.erb index 57c9f42a3b..c653e9cf2a 100644 --- a/app/views/transaction/show.html.erb +++ b/app/views/transaction/show.html.erb @@ -110,9 +110,10 @@ margin_bottom: true, data_attributes: data_attributes %> <% if hmrc_temporary_ab_test_variant_b? %> -
- <%= "#{t('ab_testing.ready_reckoner_video_test_html')}".html_safe %> -
+ <%= render "govuk_publishing_components/components/govspeak", {} do %> +

<%= t('ab_testing.ready_reckoner_video_description') %>

+

How do I budget for my Self Assessment tax bill?

+ <% end %> <% end %>

diff --git a/config/locales/cy.yml b/config/locales/cy.yml index db060b35da..19d2716200 100644 --- a/config/locales/cy.yml +++ b/config/locales/cy.yml @@ -6,7 +6,7 @@ cy: two_versions: Mae 2 fersiwn o'r dudalen hon. Rydych chi'n gweld y version: fersiwn visit_govuk_html: Ewch i hafan GOV.UK i weld gwasanaethau a gwybodaeth y llywodraeth. - ready_reckoner_video_test_html: + ready_reckoner_video_description: account: cookies_and_feedback: cookie_consent: diff --git a/config/locales/en.yml b/config/locales/en.yml index 9acbfa6664..8f6859b51e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -6,7 +6,7 @@ en: two_versions: There are 2 versions of this page. You are viewing the version: version visit_govuk_html: Visit the GOV.UK homepage to find government services and information. - ready_reckoner_video_test_html:
Watch this video to find out how a budget payment plan can help you pay your tax bill on time.
+ ready_reckoner_video_description: Watch this video to find out how a budget payment plan can help you pay your tax bill on time. account: cookies_and_feedback: cookie_consent: