From 446b2fd988c475538ef72e5040587b6bb07c455c Mon Sep 17 00:00:00 2001 From: Bruce Bolt Date: Thu, 29 Aug 2019 18:01:43 +0100 Subject: [PATCH] Enable global Brexit banner Updates the content for the global non-emergency banner and enables the display of this banner on GOV.UK. --- app/views/notifications/_global_bar.html.erb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/views/notifications/_global_bar.html.erb b/app/views/notifications/_global_bar.html.erb index 337efaea4..b2ff5e369 100644 --- a/app/views/notifications/_global_bar.html.erb +++ b/app/views/notifications/_global_bar.html.erb @@ -1,9 +1,8 @@ <% - show_global_bar ||= false # Toggles the appearance of the global bar - title = "The title" - information = "Some information about something" - link_href = "https://www.gov.uk/" - link_text = %Q(More information about this).html_safe + show_global_bar ||= true # Toggles the appearance of the global bar + title = "The United Kingdom is leaving the European Union on 31 October 2019." + link_href = "https://www.gov.uk/brexit" + link_text = "Get ready for Brexit" -%> <% if show_global_bar %> <% content_for :head do %> @@ -16,7 +15,6 @@

<%= title %> - <%= information %> <%= link_to( link_text, link_href,