Skip to content

Commit

Permalink
Tweaks to suspend/unsuspend page title & breadcrumb
Browse files Browse the repository at this point in the history
To make it more consistent with other similar pages.
  • Loading branch information
floehopper committed Dec 5, 2023
1 parent 217123a commit 1c77886
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/views/suspensions/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<% content_for :title, "Suspend [#{@user.name}]" %>
<% content_for :title_caption, "Manage other users" %>
<% content_for :title, "Suspend or unsuspend #{@user.name}" %>
<% content_for :breadcrumbs,
render("govuk_publishing_components/components/breadcrumbs", {
collapse_on_mobile: true,
Expand All @@ -16,7 +18,7 @@
url: user_path(@user),
},
{
title: "Suspend",
title: "Suspend or unsuspend",
},
]
})
Expand Down

0 comments on commit 1c77886

Please sign in to comment.