From 0233c2baf07c8aefe2800ca13dcf0cc74d23160a Mon Sep 17 00:00:00 2001 From: Dana Cotoran Date: Mon, 25 Oct 2021 17:26:57 +0100 Subject: [PATCH] Account layout template adjustments Implement some adjustments to the layout template for accounts to ensure a smooth transition to DI auth. Remove the Account product name from the header, and ensure the GOVUK link leads back to the GOVUK homepage so users don't get stuck in the account zone. Remove footer navigation links in favour or the more stripped down version of the footer. We want the footer to match what DI have implemented (it could look weird if the footer dramatically changes when someone navigates from one account page to another) --- app/views/root/_account.html.erb | 3 +-- docs/slimmer_templates.md | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/views/root/_account.html.erb b/app/views/root/_account.html.erb index 7eb14fbc7..30403858e 100644 --- a/app/views/root/_account.html.erb +++ b/app/views/root/_account.html.erb @@ -2,11 +2,10 @@ <%= render partial: "gem_base", locals: { account_nav_location: "your-account", - logo_link: GovukPersonalisation::Urls.your_account, omit_feedback_form: true, omit_global_banner: true, omit_user_satisfaction_survey: true, - product_name: "Account", + omit_footer_navigation: true, show_account_layout: true, show_explore_header: false, omit_account_navigation: omit_account_navigation, diff --git a/docs/slimmer_templates.md b/docs/slimmer_templates.md index 32850e9f7..91f62c2af 100644 --- a/docs/slimmer_templates.md +++ b/docs/slimmer_templates.md @@ -14,10 +14,7 @@ Use this layout if you want to have full width content - such as the blue welcom This is intended as a skeleton wrapper for account pages. It is intended to be used when we need a page rendered by another frontend app to look like a page from `govuk-account-manager-prototype`. -This layout omits the default feedback component for GOVUK as the account pages use a different one from the rest of GOV.UK. Instead it introduces an account-specific phase banner, account feedback prompt, and an account nav component. It also purposefully omits the global bar and user satisfaction survey bar. - -This also includes the Account product name in the layout header and changes the logo link to the account homepage link. - +This layout omits the default feedback component for GOVUK as the account pages use a different one from the rest of GOV.UK. Instead it introduces an account-specific phase banner, and an account nav component. It also purposefully omits the global bar and user satisfaction survey bar. ## `gem_layout_account_manager_no_nav`