1
1
<% content_for :simple_header, true %>
2
2
3
3
<% 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}" %>
6
5
7
- <%= machine_readable_metadata(
6
+ <%= machine_readable_metadata(
8
7
schema: :article,
9
8
canonical_url: @content_item.canonical_url,
10
9
title: @content_item.page_title,
13
12
<% end %>
14
13
15
14
<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 %>
18
17
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 >
42
27
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 >
43
40
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 >
47
44
</ div >
48
45
49
46
< 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 >
54
51
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 %>
58
55
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 %>
62
59
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 %>
64
61
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' %>
68
65
</ div >
69
66
70
- <%= render 'shared/footer_navigation' %>
67
+ <%= render 'shared/footer_navigation' %>
0 commit comments