From 1c77886dff32f9527c239ee92bfab781ccc043eb Mon Sep 17 00:00:00 2001 From: James Mead Date: Mon, 4 Dec 2023 14:27:25 +0000 Subject: [PATCH] Tweaks to suspend/unsuspend page title & breadcrumb To make it more consistent with other similar pages. --- app/views/suspensions/edit.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/suspensions/edit.html.erb b/app/views/suspensions/edit.html.erb index 3a0c400ad..8eb56ed92 100644 --- a/app/views/suspensions/edit.html.erb +++ b/app/views/suspensions/edit.html.erb @@ -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, @@ -16,7 +18,7 @@ url: user_path(@user), }, { - title: "Suspend", + title: "Suspend or unsuspend", }, ] })