From 57af7839a234cd0301a736553ae0beb0d5e67b8a Mon Sep 17 00:00:00 2001 From: Leena Gupte Date: Fri, 14 May 2021 16:20:09 +0100 Subject: [PATCH] Add travel advice updates for 17th May 2021 The new advice should start to be displayed from 00:00 on Monday 17th May. --- .../content_items/travel_advice.html.erb | 47 ++++++++++++------- 1 file changed, 31 insertions(+), 16 deletions(-) diff --git a/app/views/content_items/travel_advice.html.erb b/app/views/content_items/travel_advice.html.erb index 663698a13..cfc20dde1 100644 --- a/app/views/content_items/travel_advice.html.erb +++ b/app/views/content_items/travel_advice.html.erb @@ -25,22 +25,37 @@ } %>
-

- - It is illegal to travel abroad from the UK for holidays. - - Follow current COVID-19 rules where you live: England, Scotland, Wales and Northern Ireland. -

-

- In England, you must have a permitted reason to travel abroad and complete the declaration form. -

-

- Some countries have closed borders, and any country may further restrict travel or bring in new social distancing rules with little warning. - Check our advice for each country you will visit or transit through. -

-

- When you return, follow the rules to enter the UK from abroad (except from Ireland). -

+ <% if Time.zone.now < Date.parse("2021-05-17").beginning_of_day %> +

+ + It is illegal to travel abroad from the UK for holidays. + + Follow current COVID-19 rules where you live: England, Scotland, Wales and Northern Ireland. +

+

+ In England, you must have a permitted reason to travel abroad and complete the declaration form. +

+

+ Some countries have closed borders, and any country may further restrict travel or bring in new social distancing rules with little warning. + Check our advice for each country you will visit or transit through. +

+

+ When you return, follow the rules to enter the UK from abroad (except from Ireland). +

+ <% else %> +

+ Follow current COVID-19 rules where you live: England, Scotland, Wales and Northern Ireland. +

+

+ To prevent new COVID variants from entering the UK, you should not travel to amber or red list countries. +

+

+ To understand the risks in a country follow FCDO Travel Advice. +

+

+ When you return, follow the rules to enter the UK from abroad (except from Ireland). +

+ <% end %>