-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9981 from alphagov/content-modelling/922-update-b…
…anner content-modelling/ update phase banner
- Loading branch information
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
lib/engines/content_block_manager/app/views/shared/_phase_banner.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)), | ||
} %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -447,8 +447,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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters