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

Add support for "Manage your account" active in the account nav #2662

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

danacotoran
Copy link
Contributor

@danacotoran danacotoran commented Nov 29, 2021

When the account layout template renders with a nav, the "Your account" nav option is selected by default.

Some pages which use the account layout belong under "Manage your account" instead of "Your account".

This allows us the option to render the account layout with "Manage your account" selected/active in the account nav, instead of the default "Your account".

gem_layout_account_manager template

Screenshot 2021-11-29 at 17 11 21

gem_layout_account_manager_manage_your_account_active template

Screenshot 2021-11-29 at 17 12 30

This also ensures the Account link in the site header nav appears with the correct active blue colour (currently there is no visual difference between the Account link and the Sign out one)


https://trello.com/c/uDkZ90GE

@govuk-ci govuk-ci temporarily deployed to govuk-static-account-te-ch9nl6 November 29, 2021 17:38 Inactive
@danacotoran danacotoran changed the title Account layout for "manage your account" active Add support for "Manage your account" active in the account nav Nov 29, 2021
When the account layout template renders with a nav, the "Your account"
nav option is selected by default.

Some pages which use the account layout belong under "Manage your
account" instead of "Your account".

This allows us the option to render the account layout with "Manage your
account" selected/active in the account nav, instead of the default
"Your account".
@danacotoran danacotoran force-pushed the account-template-manage-account-active branch from 9d0512c to 3e5bfce Compare November 29, 2021 17:44
@govuk-ci govuk-ci temporarily deployed to govuk-static-account-te-ch9nl6 November 29, 2021 17:45 Inactive
@danacotoran danacotoran merged commit 2b45615 into main Nov 30, 2021
@danacotoran danacotoran deleted the account-template-manage-account-active branch November 30, 2021 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants