Skip to content

Commit

Permalink
Merge pull request #2623 from alphagov/account-template-adjustments
Browse files Browse the repository at this point in the history
Account layout template adjustments
  • Loading branch information
danacotoran authored Oct 28, 2021
2 parents 91999ee + 0233c2b commit c4839f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions app/views/root/_account.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 1 addition & 4 deletions docs/slimmer_templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit c4839f4

Please sign in to comment.