Skip to content

Commit 661e06e

Browse files
committed
Update message content
1 parent 6441a77 commit 661e06e

File tree

1 file changed

+43
-46
lines changed

1 file changed

+43
-46
lines changed
+43-46
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<% content_for :simple_header, true %>
22

33
<% content_for :extra_head_content do %>
4-
<%= auto_discovery_link_tag :atom, @content_item.feed_link,
5-
title: "Recent updates for #{@content_item.country_name}" %>
4+
<%= auto_discovery_link_tag :atom, @content_item.feed_link, title: "Recent updates for #{@content_item.country_name}" %>
65

7-
<%= machine_readable_metadata(
6+
<%= machine_readable_metadata(
87
schema: :article,
98
canonical_url: @content_item.canonical_url,
109
title: @content_item.page_title,
@@ -13,58 +12,56 @@
1312
<% end %>
1413

1514
<div class="govuk-grid-row">
16-
<div class="govuk-grid-column-two-thirds travel-advice__header">
17-
<%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>
15+
<div class="govuk-grid-column-two-thirds travel-advice__header">
16+
<%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>
1817

19-
<div class="travel-advice-notice">
20-
<span class="govuk-warning-text__icon travel-advice-notice__icon" aria-hidden="true">!</span>
21-
<h2 class="govuk-heading-m" aria-label="Important - this is a notice">
22-
This is a notice
23-
</h2>
24-
<p class="govuk-body">Jelly-o wafer gummi bears bonbon carrot cake. Topping fruitcake lemon drops bonbon
25-
dessert. Fruitcake danish cookie. Macaroon candy fruitcake fruitcake candy cheesecake. Cupcake soufflé
26-
chupa chups toffee wafer cotton candy soufflé gingerbread marzipan.</p>
27-
</div>
28-
29-
<aside class="part-navigation-container" role="complementary">
30-
31-
<nav role="navigation" class="govuk-grid-row part-navigation" aria-label="Travel advice pages" data-module="track-click">
32-
<% @content_item.parts_navigation.each_with_index do |part_group, i| %>
33-
<ol class="govuk-grid-column-one-half" <% if i == 1 %> start="<%= @content_item.parts_navigation_second_list_start %>" <% end %>>
34-
<% part_group.each do |part_nav_item| %>
35-
<li>
36-
<%= part_nav_item %>
37-
</li>
38-
<% end %>
39-
</ol>
40-
<% end %>
41-
</nav>
18+
<div class="travel-advice-notice">
19+
<span class="govuk-warning-text__icon travel-advice-notice__icon" aria-hidden="true">!</span>
20+
<h2 class="govuk-heading-m" aria-label="Important - COVID-19 Exceptional Travel Advisory Notice">
21+
COVID-19 Exceptional Travel Advisory Notice
22+
</h2>
23+
<p class="govuk-body">
24+
As countries respond to the COVID-19 pandemic, including travel and border restrictions, <strong>the FCO advises British nationals against all but essential international travel</strong>. Any country or area may restrict travel without notice.
25+
</p>
26+
</div>
4227

28+
<aside class="part-navigation-container" role="complementary">
29+
<nav role="navigation" class="govuk-grid-row part-navigation" aria-label="Travel advice pages" data-module="track-click">
30+
<% @content_item.parts_navigation.each_with_index do |part_group, i| %>
31+
<ol class="govuk-grid-column-one-half" <% if i == 1 %> start="<%= @content_item.parts_navigation_second_list_start %>" <% end %>>
32+
<% part_group.each do |part_nav_item| %>
33+
<li>
34+
<%= part_nav_item %>
35+
</li>
36+
<% end %>
37+
</ol>
38+
<% end %>
39+
</nav>
4340

44-
<%= render 'govuk_publishing_components/components/subscription-links', email_signup_link: @content_item.email_signup_link, feed_link: @content_item.feed_link %>
45-
</aside>
46-
</div>
41+
<%= render 'govuk_publishing_components/components/subscription-links', email_signup_link: @content_item.email_signup_link, feed_link: @content_item.feed_link %>
42+
</aside>
43+
</div>
4744
</div>
4845

4946
<div class="govuk-grid-row">
50-
<div class="govuk-grid-column-two-thirds">
51-
<h1 class="part-title">
52-
<%= @content_item.current_part_title %>
53-
</h1>
47+
<div class="govuk-grid-column-two-thirds">
48+
<h1 class="part-title">
49+
<%= @content_item.current_part_title %>
50+
</h1>
5451

55-
<% if @content_item.is_summary? %>
56-
<%= render 'shared/travel_advice_summary', content_item: @content_item %>
57-
<% end %>
52+
<% if @content_item.is_summary? %>
53+
<%= render 'shared/travel_advice_summary', content_item: @content_item %>
54+
<% end %>
5855

59-
<%= render 'govuk_publishing_components/components/govspeak',
60-
content: @content_item.current_part_body.html_safe,
61-
direction: page_text_direction %>
56+
<%= render 'govuk_publishing_components/components/govspeak',
57+
content: @content_item.current_part_body.html_safe,
58+
direction: page_text_direction %>
6259

63-
<%= render 'govuk_publishing_components/components/previous_and_next_navigation', @content_item.previous_and_next_navigation %>
60+
<%= render 'govuk_publishing_components/components/previous_and_next_navigation', @content_item.previous_and_next_navigation %>
6461

65-
<%= render 'components/print-link', href: @content_item.print_link, link_text: t("multi_page.print_entire_guide") %>
66-
</div>
67-
<%= render 'shared/sidebar_navigation' %>
62+
<%= render 'components/print-link', href: @content_item.print_link, link_text: t("multi_page.print_entire_guide") %>
63+
</div>
64+
<%= render 'shared/sidebar_navigation' %>
6865
</div>
6966

70-
<%= render 'shared/footer_navigation' %>
67+
<%= render 'shared/footer_navigation' %>

0 commit comments

Comments
 (0)