Skip to content

Commit

Permalink
update notification banenr to use title_text instead of title
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpattinson committed Sep 27, 2024
1 parent 4acea8c commit a4a7315
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<%= yield(:breadcrumbs) if content_for?(:breadcrumbs) %>
<main class="govuk-main-wrapper" id="main-content" role="main">
<% 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 %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/check_records_layout.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<%= yield(:breadcrumbs) if content_for?(:breadcrumbs) %>
<main class="govuk-main-wrapper" id="main-content" role="main">
<% 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)) %>

Expand Down

0 comments on commit a4a7315

Please sign in to comment.