-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new layout template for account-like pages
This adds a new account-related template, intended to be used on pages that should have the account layout, while not being rendered by the govuk-account-manager-prototype app. An example of such a page is the gov.uk/account/home page which was relocated from the account manager app to the frontend app, which at that time meant that some of the content and page furniture was duplicated between those applications. More recently, the accounts team are working towards the goal of single page notifications which will enable users who have linked their email notifications address and their GOVUK Account to manage their email subscriptions through their account. Part of this work is making the email management pages (which live in email-alert-frontend) look the same as the account manager when the user is authenticated with a linked account. Thanks to the changes included in this commit, we should be able to achieve this by simply requesting the gem_layout_account_manager from static, instead of copying individual components to yet another app.
- Loading branch information
1 parent
d5ba95f
commit 1e99551
Showing
4 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<%= render partial: "gem_base", locals: { | ||
product_name: "Account", | ||
logo_link: Plek.new.website_root + "/account/home", | ||
omit_feedback_form: true, | ||
omit_global_banner: true, | ||
omit_user_satisfaction_survey: true, | ||
show_account_layout: true, | ||
account_nav_location: "your-account" | ||
} %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters