Skip to content

Commit

Permalink
Merge pull request #1823 from alphagov/add-content-to-banner
Browse files Browse the repository at this point in the history
Enable global Brexit banner
  • Loading branch information
brucebolt authored Aug 31, 2019
2 parents 85f9e43 + 446b2fd commit e6bb3e4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions app/views/notifications/_global_bar.html.erb
Original file line number Diff line number Diff line change
@@ -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<span class="visually-hidden"> about this</span>).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 %>
Expand All @@ -16,7 +15,6 @@
<div class="global-bar-message-container">
<p class="global-bar-message">
<span class="global-bar-title"><%= title %></span>
<%= information %>
<%= link_to(
link_text,
link_href,
Expand Down

0 comments on commit e6bb3e4

Please sign in to comment.