From 18a8e7256a71f60cb15ca3c74132b02fbe09768c Mon Sep 17 00:00:00 2001 From: Leena Gupte Date: Fri, 8 Oct 2021 12:31:44 +0100 Subject: [PATCH 1/2] Remove travel advice coronavirus callout --- app/assets/stylesheets/application.scss | 21 ------------------- .../content_items/travel_advice.html.erb | 14 ------------- config/locales/en.yml | 13 ------------ 3 files changed, 48 deletions(-) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 2b4b39223..08897f687 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -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 @@ -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); -} diff --git a/app/views/content_items/travel_advice.html.erb b/app/views/content_items/travel_advice.html.erb index 3eb5eac71..5b170ea8e 100644 --- a/app/views/content_items/travel_advice.html.erb +++ b/app/views/content_items/travel_advice.html.erb @@ -17,20 +17,6 @@
<%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %> -
-
- <%= 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 - } %> -
-
- <%= t("travel_advice.coronavirus_warning.content_html") %> -
-
-