From cf1ec77a5e8a5d2931125ab49afac5c8d0164453 Mon Sep 17 00:00:00 2001 From: JonathanHallam Date: Mon, 17 May 2021 08:13:16 +0100 Subject: [PATCH] Remove time based logic from travel advice. https://github.com/alphagov/government-frontend/pull/2106 introduced some logic so that we wouldn't have to deploy at midnight. This just cleans that up now the time has passed. --- .../content_items/travel_advice.html.erb | 43 ++++++------------- 1 file changed, 12 insertions(+), 31 deletions(-) diff --git a/app/views/content_items/travel_advice.html.erb b/app/views/content_items/travel_advice.html.erb index cfc20dde1..2f1e96faf 100644 --- a/app/views/content_items/travel_advice.html.erb +++ b/app/views/content_items/travel_advice.html.erb @@ -25,37 +25,18 @@ } %>
- <% 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 %> +

+ 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). +