diff --git a/app/presenters/content_item/no_deal_notice.rb b/app/presenters/content_item/no_deal_notice.rb index 76138bd3b..da514ebc0 100644 --- a/app/presenters/content_item/no_deal_notice.rb +++ b/app/presenters/content_item/no_deal_notice.rb @@ -23,11 +23,12 @@ def no_deal_notice_links end def no_deal_notice_title - "The UK has left the EU and the transition period after Brexit comes to an end this year." + "New rules for January 2021" end def no_deal_notice_description - "This page tells you what you'll need to do from 1 January 2021. It will be updated if anything changes." + ["The UK has left the EU, and the transition period after Brexit comes to an end this year.", + "This page tells you what you'll need to do from 1 January 2021. It will be updated if anything changes."] end def no_deal_notice_link_intro diff --git a/app/views/components/_header-notice.html.erb b/app/views/components/_header-notice.html.erb index 3b5c2a62c..1131424ca 100644 --- a/app/views/components/_header-notice.html.erb +++ b/app/views/components/_header-notice.html.erb @@ -12,7 +12,13 @@
<%= description %>
+ <% if description.is_a? Array %> + <% description.map do |line| %> +<%= line %>
+ <% end %> + <% else %> +<%= description %>
+ <% end %> <% if links.any? %>