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

Account layout template adjustments #2623

Merged
merged 1 commit into from
Oct 28, 2021
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
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