Skip to content

Commit

Permalink
Add missing breadcrumb links to account app/permissions pages
Browse files Browse the repository at this point in the history
We noticed that the "applications" and "view/update permissions" pages
under a user account had inconsistent breadcrumb navigation when
compared to, for example, "change your
organisation" (`app/views/account/organisations/edit.html.erb`).
  • Loading branch information
chrislo committed Dec 19, 2023
1 parent d6970e0 commit cd0428a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/account/applications/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
title: "Dashboard",
url: root_path,
},
{
title: "Settings",
url: account_path,
},
{
title: "GOV.UK apps",
}
Expand Down
4 changes: 4 additions & 0 deletions app/views/account/permissions/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
title: "GOV.UK apps",
url: account_applications_path,
},
{
title: "Settings",
url: account_path,
},
{
title: "Update permissions for #{@application.name}",
},
Expand Down
4 changes: 4 additions & 0 deletions app/views/account/permissions/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
title: "GOV.UK apps",
url: account_applications_path,
},
{
title: "Settings",
url: account_path,
},
{
title: "My permissions for #{@application.name}",
},
Expand Down

0 comments on commit cd0428a

Please sign in to comment.