Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify One Login interstitial page #1630

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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