Skip to content

Commit

Permalink
Merge pull request #2241 from alphagov/remove-travel-callout
Browse files Browse the repository at this point in the history
Remove travel advice coronavirus callout
  • Loading branch information
leenagupte authored Oct 11, 2021
2 parents 4fab76c + 46131cc commit 3c16825
Show file tree
Hide file tree
Showing 68 changed files with 0 additions and 308 deletions.
21 changes: 0 additions & 21 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ $govuk-new-link-styles: true;
@import 'govuk_publishing_components/components/success-alert';
@import 'govuk_publishing_components/components/title';
@import 'govuk_publishing_components/components/translation-nav';
@import 'govuk_publishing_components/components/warning-text';
@import 'govuk_publishing_components/components/skip-link';

// government-frontend mixins
Expand Down Expand Up @@ -90,23 +89,3 @@ $govuk-new-link-styles: true;
@import 'views/answer';
@import 'views/help-page';
@import "views/guide";

.travel-advice-notice {
background-color: govuk-colour("light-grey");
border: 1px solid $govuk-border-colour;
margin-bottom: govuk-spacing(7);
position: relative;
}

.travel-advice-notice__header {
padding: govuk-spacing(4) govuk-spacing(4) 0 govuk-spacing(3);
}

.travel-advice-notice__content {
margin-top: - govuk-spacing(3);
padding: 0 govuk-spacing(4) 0 govuk-spacing(9);
}

.travel-advice-notice__icon {
margin-left: govuk-spacing(3);
}
14 changes: 0 additions & 14 deletions app/views/content_items/travel_advice.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,6 @@
<div class="govuk-grid-column-two-thirds travel-advice__header">
<%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>

<div class="travel-advice-notice" data-module="gem-track-click" data-track-category="globalTravelAdviceWarning" data-track-action="callOutBoxClicked" data-track-links-only>
<div class="travel-advice-notice__header">
<%= render "govuk_publishing_components/components/warning_text", {
text: t("travel_advice.coronavirus_warning.title"),
text_assistive: t("travel_advice.coronavirus_warning.text_assistive"),
large_font: true,
heading_level: 2
} %>
</div>
<div class="travel-advice-notice__content">
<%= t("travel_advice.coronavirus_warning.content_html") %>
</div>
</div>

<aside class="part-navigation-container" role="complementary">
<nav role="navigation" class="govuk-grid-row part-navigation" aria-label="Travel advice pages">
<%= render "govuk_publishing_components/components/contents_list", contents: @content_item.part_link_elements, underline_links: true %>
Expand Down
4 changes: 0 additions & 4 deletions config/locales/ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -729,10 +729,6 @@ ar:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/az.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,6 @@ az:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/be.yml
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,6 @@ be:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/bg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ bg:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/bn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ bn:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -504,10 +504,6 @@ cs:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/cy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -729,10 +729,6 @@ cy:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/da.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ da:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ de:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/dr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ dr:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/el.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ el:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
13 changes: 0 additions & 13 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,19 +429,6 @@ en:
avoid_all_travel_to_parts: The <abbr title="Foreign, Commonwealth and Development Office">FCDO</abbr> advise against all travel to parts of the country.
avoid_all_travel_to_whole_country: The <abbr title="Foreign, Commonwealth and Development Office">FCDO</abbr> advise against all travel to the whole country.
context: Foreign travel advice
coronavirus_warning:
content_html: |
<p class="govuk-body">
To understand the risks in a country, including the latest COVID restrictions (including for entry), follow <a href="/foreign-travel-advice" class="govuk-link">FCDO Travel Advice</a>.
</p>
<p class="govuk-body">
To prevent new COVID variants from entering the UK, you should not travel to <a href="/guidance/red-list-of-countries-and-territories" class="govuk-link">red list countries</a>.
</p>
<p class="govuk-body">
Check what you need to do to <a href="/guidance/travel-abroad-from-england-during-coronavirus-covid-19" class="govuk-link">travel abroad</a> and <a href="/guidance/travel-to-england-from-another-country-during-coronavirus-covid-19" class="govuk-link">return to England</a>, or read travel guidance for <a href="https://www.gov.scot/publications/coronavirus-covid-19-guidance-on-travel-and-transport/" class="govuk-link">Scotland</a>, <a href="https://gov.wales/coronavirus-travel" class="govuk-link">Wales</a> or <a href="https://www.nidirect.gov.uk/articles/coronavirus-covid-19-travel-advice" class="govuk-link">Northern Ireland</a>.
</p>
text_assistive: Important
title: 'COVID-19: travel is different'
still_current_at: Still current at
summary: Summary
updated: Updated
Expand Down
4 changes: 0 additions & 4 deletions config/locales/es-419.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ es-419:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ es:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/et.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ et:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/fa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,6 @@ fa:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/fi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ fi:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ fr:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/gd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,6 @@ gd:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/gu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ gu:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/he.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ he:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/hi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ hi:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/hr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,6 @@ hr:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/hu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ hu:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/hy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ hy:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,6 @@ id:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/is.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ is:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ it:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,6 @@ ja:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
4 changes: 0 additions & 4 deletions config/locales/ka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,6 @@ ka:
avoid_all_travel_to_parts:
avoid_all_travel_to_whole_country:
context:
coronavirus_warning:
content_html:
text_assistive:
title:
still_current_at:
summary:
updated:
Expand Down
Loading

0 comments on commit 3c16825

Please sign in to comment.