From 82333aee3be2c57051f37a8dafde37bccfd73f93 Mon Sep 17 00:00:00 2001 From: Keith Lawrence Date: Mon, 9 Oct 2023 12:03:09 +0100 Subject: [PATCH] Simplify One Login interstitial page --- app/views/govuk_account_signups/show.html.erb | 33 ++----------------- config/locales/single_page_subscriptions.yml | 14 ++------ 2 files changed, 5 insertions(+), 42 deletions(-) diff --git a/app/views/govuk_account_signups/show.html.erb b/app/views/govuk_account_signups/show.html.erb index 07c67261..e63321aa 100644 --- a/app/views/govuk_account_signups/show.html.erb +++ b/app/views/govuk_account_signups/show.html.erb @@ -11,36 +11,9 @@ <%= t("single_page_subscriptions.account_required_description") %>

-<%= render "govuk_publishing_components/components/heading", { - text: t("single_page_subscriptions.subheading"), - heading_level: 2, - font_size: "m", - margin_bottom: 6 -} %> - -<%= t("single_page_subscriptions.accounts_are_new_description_html") %> - -<%= render "govuk_publishing_components/components/inset_text" do - t("single_page_subscriptions.inset_description_html") -end %> - -<%= t("single_page_subscriptions.usage_description_html") %> - -<%= render "govuk_publishing_components/components/heading", { - text: t("single_page_subscriptions.other_subs_heading") , - heading_level: 2, - font_size: "m", - margin_bottom: 6 -} %> - -<%= t("single_page_subscriptions.other_subs_description_html") %> - -<%= render "govuk_publishing_components/components/heading", { - text: t("single_page_subscriptions.button_heading") , - heading_level: 2, - font_size: "m", - margin_bottom: 6 -} %> +

+ <%= t("single_page_subscriptions.other_subs_description") %> +

<%= form_tag govuk_account_signups_new_session_path, method: :post, :"data-module" => "explicit-cross-domain-links" do %> <%= render "govuk_publishing_components/components/button", { diff --git a/config/locales/single_page_subscriptions.yml b/config/locales/single_page_subscriptions.yml index 0a9b001a..95059d05 100644 --- a/config/locales/single_page_subscriptions.yml +++ b/config/locales/single_page_subscriptions.yml @@ -1,16 +1,6 @@ en: single_page_subscriptions: - title: The way you subscribe to get emails from GOV.UK is changing + title: Create a GOV.UK One Login to get emails account_required_description: You need a GOV.UK One Login to get these emails. - subheading: GOV.UK One Login is new - accounts_are_new_description_html: | -

At the moment you can only use GOV.UK One Login with a few services, for example to manage your GOV.UK email subscriptions.

- inset_description_html: | - GOV.UK One Login does not work with all government accounts and services yet (for example Government Gateway or Universal Credit). - usage_description_html: | -

In the future, you’ll be able to use GOV.UK One Login to access all services on GOV.UK.

- other_subs_heading: If you have other GOV.UK email subscriptions - other_subs_description_html: | -

If you have subscriptions to other GOV.UK topics or pages, these will be moved so you can manage all your subscriptions in one place.

+ other_subs_description: If you have subscriptions to other GOV.UK topics or pages, these will be moved so you can manage all your subscriptions in one place. create_or_sign_in_description: Create a GOV.UK One Login or sign in - button_heading: Create a GOV.UK One Login or sign in