diff --git a/app/assets/stylesheets/components/_notice.scss b/app/assets/stylesheets/components/_notice.scss
deleted file mode 100644
index b52537c42..000000000
--- a/app/assets/stylesheets/components/_notice.scss
+++ /dev/null
@@ -1,33 +0,0 @@
-.app-c-notice {
- clear: both;
- padding: $gutter-two-thirds;
- border: 2px solid $govuk-blue;
-
- @include media(mobile) {
- padding: $gutter-half;
- }
-
- .govuk-govspeak {
- p:last-child {
- margin-bottom: 0;
- }
- }
-}
-
-.app-c-notice--bottom-margin {
- @include responsive-bottom-margin;
-}
-
-.app-c-notice__title {
- @include bold-27;
- margin-bottom: $gutter-one-third;
-
- &:last-child {
- margin-bottom: 0;
- }
-}
-
-.app-c-notice__description {
- @include core-19;
- margin-bottom: 0;
-}
diff --git a/app/views/components/_notice.html.erb b/app/views/components/_notice.html.erb
deleted file mode 100644
index 8a1e560a7..000000000
--- a/app/views/components/_notice.html.erb
+++ /dev/null
@@ -1,22 +0,0 @@
-<% if defined?(title) %>
- <%
- description_text ||= false
- description_govspeak ||= false
- margin_bottom_class = " app-c-notice--bottom-margin" unless local_assigns[:margin_bottom]
- %>
- <%= description_text %><%= title %>
- <% else %>
- <%= title %>
- <% end %>
-
- <% if description_text %>
-
The Oil & Gas Authority launched a new website on 3 October 2016 to reflect its new status as a government company.
This formalises the transfer of the Secretary of State’s regulatory powers in respect of oil and gas to the OGA, and grants it new powers. This website will no longer be updated. Visitors should refer to www.ogauthority.co.uk
' diff --git a/app/views/content_items/_body_with_related_links.html.erb b/app/views/content_items/_body_with_related_links.html.erb index 86c804fa3..a03de38dd 100644 --- a/app/views/content_items/_body_with_related_links.html.erb +++ b/app/views/content_items/_body_with_related_links.html.erb @@ -9,7 +9,7 @@diff --git a/app/views/content_items/guide.html+print.erb b/app/views/content_items/guide.html+print.erb index 44dd4ed14..e84a7030b 100644 --- a/app/views/content_items/guide.html+print.erb +++ b/app/views/content_items/guide.html+print.erb @@ -14,7 +14,7 @@
<%= @content_item.last_changed %>
<% end %> -<%= render 'components/notice', @content_item.withdrawal_notice_component %> +<%= render 'govuk_publishing_components/components/notice', @content_item.withdrawal_notice_component %>