Skip to content

Commit 8e8b107

Browse files
committed
Add banner for eligible pages
1 parent 2534d76 commit 8e8b107

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/views/content_items/corporate_information_page.html.erb

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
) %>
55
<% end %>
66

7+
<% if @content_item.show_organisation_changing_banner? %>
8+
<div class="govuk-width-container govuk-!-margin-top-8">
9+
<%= render "govuk_publishing_components/components/notice", {
10+
title: sanitize('This organisation is changing. Read <a href="https://www.gov.uk/government/news/making-government-deliver-for-the-british-people">the latest updates on government departments</a> or visit the <a href="https://twitter.com/10DowningStreet">10 Downing Street Twitter feed</a>.'),
11+
margin_bottom: 3,
12+
} %>
13+
</div>
14+
<% end %>
15+
716
<% @additional_body = capture do %>
817
<% if @content_item.corporate_information? %>
918
<%= @content_item.corporate_information_heading_tag %>

0 commit comments

Comments
 (0)