Skip to content

Commit

Permalink
update phase banner
Browse files Browse the repository at this point in the history
We are now moving to Beta, this updates our banner
with the new phase and new copy needed.
  • Loading branch information
Harriethw committed Feb 25, 2025
1 parent bb97fd8 commit 7c56606
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -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-[email protected]",
"feedback[email protected]",
{
class: "govuk-link",
},
)
} will help us to improve it.", attributes: %w(class href)),
}.", attributes: %w(class href)),
} %>
Original file line number Diff line number Diff line change
Expand Up @@ -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[email protected]", href: "mailto:feedback-[email protected]")
end

Then(/^I should still see the live edition on the homepage$/) do
Expand Down

0 comments on commit 7c56606

Please sign in to comment.