From 7c566066df0ee75131e61606907b3ed7b4691a24 Mon Sep 17 00:00:00 2001 From: Harriet H-W Date: Tue, 25 Feb 2025 16:21:51 +0000 Subject: [PATCH] update phase banner We are now moving to Beta, this updates our banner with the new phase and new copy needed. --- .../app/views/shared/_phase_banner.html.erb | 10 +++++----- .../step_definitions/content_block_manager_steps.rb | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/engines/content_block_manager/app/views/shared/_phase_banner.html.erb b/lib/engines/content_block_manager/app/views/shared/_phase_banner.html.erb index 7d91104c7af..e8d5c692714 100644 --- a/lib/engines/content_block_manager/app/views/shared/_phase_banner.html.erb +++ b/lib/engines/content_block_manager/app/views/shared/_phase_banner.html.erb @@ -1,13 +1,13 @@ <%= render "govuk_publishing_components/components/phase_banner", { - phase: "Alpha", - message: sanitize("This is a new service - your + phase: "Beta", + message: sanitize("For support, to delete a content block or to give feedback, email #{ mail_to( - "govuk-publishing-content-modelling-team@digital.cabinet-office.gov.uk", - "feedback", + "feedback-content-modelling@digital.cabinet-office.gov.uk", + "feedback-content-modelling@digital.cabinet-office.gov.uk", { class: "govuk-link", }, ) - } will help us to improve it.", attributes: %w(class href)), + }.", attributes: %w(class href)), } %> diff --git a/lib/engines/content_block_manager/features/step_definitions/content_block_manager_steps.rb b/lib/engines/content_block_manager/features/step_definitions/content_block_manager_steps.rb index fed1f406956..96f05320e23 100644 --- a/lib/engines/content_block_manager/features/step_definitions/content_block_manager_steps.rb +++ b/lib/engines/content_block_manager/features/step_definitions/content_block_manager_steps.rb @@ -455,8 +455,8 @@ end And("I should see the object store's phase banner") do - expect(page).to have_selector(".govuk-tag", text: "Alpha") - expect(page).to have_link("feedback", href: "mailto:govuk-publishing-content-modelling-team@digital.cabinet-office.gov.uk") + expect(page).to have_selector(".govuk-tag", text: "Beta") + expect(page).to have_link("feedback-content-modelling@digital.cabinet-office.gov.uk", href: "mailto:feedback-content-modelling@digital.cabinet-office.gov.uk") end Then(/^I should still see the live edition on the homepage$/) do