Skip to content

Commit

Permalink
Simplify One Login interstitial page
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Oct 9, 2023
1 parent 4177ec0 commit 82333ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 42 deletions.
33 changes: 3 additions & 30 deletions app/views/govuk_account_signups/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,9 @@
<%= t("single_page_subscriptions.account_required_description") %>
</p>

<%= 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
} %>
<p class="govuk-body">
<%= t("single_page_subscriptions.other_subs_description") %>
</p>

<%= form_tag govuk_account_signups_new_session_path, method: :post, :"data-module" => "explicit-cross-domain-links" do %>
<%= render "govuk_publishing_components/components/button", {
Expand Down
14 changes: 2 additions & 12 deletions config/locales/single_page_subscriptions.yml
Original file line number Diff line number Diff line change
@@ -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: |
<p class="govuk-body">At the moment you can only use GOV.UK One Login with a few services, for example to manage your GOV.UK email subscriptions.</p>
inset_description_html: |
GOV.UK One Login does not work with <a href="/sign-in" class="govuk-link">all government accounts and services</a> yet (for example Government Gateway or Universal Credit).
usage_description_html: |
<p class="govuk-body">In the future, you’ll be able to use GOV.UK One Login to access all services on GOV.UK.</p>
other_subs_heading: If you have other GOV.UK email subscriptions
other_subs_description_html: |
<p class="govuk-body">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.</p>
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

0 comments on commit 82333ae

Please sign in to comment.