From a4a7315d8e380001de708a85f2f6911783f9d2c0 Mon Sep 17 00:00:00 2001 From: Richard Pattinson Date: Fri, 27 Sep 2024 13:54:41 +0100 Subject: [PATCH] update notification banenr to use title_text instead of title --- app/views/layouts/base.html.erb | 2 +- app/views/layouts/check_records_layout.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb index 9c1fe0be..f0419bf1 100644 --- a/app/views/layouts/base.html.erb +++ b/app/views/layouts/base.html.erb @@ -35,7 +35,7 @@ <%= yield(:breadcrumbs) if content_for?(:breadcrumbs) %>
<% if FeatureFlags::FeatureFlag.active?(:downtime_banner) %> - <%= govuk_notification_banner title: "Planned downtime", text: "The service will be unavailable on Monday 30th September between 6pm and 7pm while we carry out essential maintenance" %> + <%= govuk_notification_banner title_text: "Planned downtime", text: "The service will be unavailable on Monday 30th September between 6pm and 7pm while we carry out essential maintenance" %> <% end %> <%= render(FlashMessageComponent.new(flash: flash)) %> <%= yield :content %> diff --git a/app/views/layouts/check_records_layout.html.erb b/app/views/layouts/check_records_layout.html.erb index e55c84f0..1f221666 100644 --- a/app/views/layouts/check_records_layout.html.erb +++ b/app/views/layouts/check_records_layout.html.erb @@ -35,7 +35,7 @@ <%= yield(:breadcrumbs) if content_for?(:breadcrumbs) %>
<% if FeatureFlags::FeatureFlag.active?(:downtime_banner) %> - <%= govuk_notification_banner title: "Planned downtime", text: "The service will be unavailable on Monday 30th September between 6pm and 7pm while we carry out essential maintenance" %> + <%= govuk_notification_banner title_text: "Planned downtime", text: "The service will be unavailable on Monday 30th September between 6pm and 7pm while we carry out essential maintenance" %> <% end %> <%= render(FlashMessageComponent.new(flash: flash)) %>