Skip to content

Commit

Permalink
Remove Brexit callout box
Browse files Browse the repository at this point in the history
All content should now have been updated, and the remainder is aware that
this will be retired on Monday 24 May.

https://trello.com/c/xnVMpmH8/1526-actually-remove-brexit-callout-for-24-may
  • Loading branch information
sihugh committed May 24, 2021
1 parent 67e6f01 commit 7b56c36
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 264 deletions.
47 changes: 0 additions & 47 deletions app/assets/stylesheets/components/_brexit-notice.scss

This file was deleted.

68 changes: 0 additions & 68 deletions app/presenters/content_item/brexit_notice.rb

This file was deleted.

1 change: 0 additions & 1 deletion app/presenters/content_item_presenter.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
class ContentItemPresenter
include ContentItem::Withdrawable
include ContentItem::BrexitNotice

attr_reader :content_item,
:requested_path,
Expand Down
44 changes: 0 additions & 44 deletions app/views/components/_brexit-notice.html.erb

This file was deleted.

34 changes: 0 additions & 34 deletions app/views/components/docs/brexit-notice.yml

This file was deleted.

1 change: 0 additions & 1 deletion app/views/content_items/case_study.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<%= render 'shared/publisher_metadata_with_logo' %>
<%= render 'govuk_publishing_components/components/notice', @content_item.withdrawal_notice_component %>
<%= render 'components/brexit-notice', @content_item.brexit_notice_component unless @content_item.withdrawal_notice_component %>

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds content-bottom-margin">
Expand Down
1 change: 0 additions & 1 deletion app/views/content_items/detailed_guide.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<%= render 'shared/publisher_metadata_with_logo' %>
<%= render 'shared/history_notice', content_item: @content_item %>
<%= render 'govuk_publishing_components/components/notice', @content_item.withdrawal_notice_component %>
<%= render 'components/brexit-notice', @content_item.brexit_notice_component unless @content_item.withdrawal_notice_component %>

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
Expand Down
1 change: 0 additions & 1 deletion app/views/content_items/document_collection.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<div class="govuk-grid-column-two-thirds">
<%= render 'govuk_publishing_components/components/lead_paragraph', text: @content_item.description %>
<%= render 'govuk_publishing_components/components/notice', @content_item.withdrawal_notice_component %>
<%= render 'components/brexit-notice', @content_item.brexit_notice_component unless @content_item.withdrawal_notice_component %>
<%= render 'shared/history_notice', content_item: @content_item %>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion app/views/content_items/html_publication.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<% end %>

<%= render 'govuk_publishing_components/components/notice', @content_item.withdrawal_notice_component %>
<%= render 'components/brexit-notice', @content_item.brexit_notice_component unless @content_item.withdrawal_notice_component %>

<div
class="govuk-grid-row sidebar-with-body"
Expand Down
1 change: 0 additions & 1 deletion app/views/content_items/publication.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<%= render 'shared/history_notice', content_item: @content_item %>

<%= render 'govuk_publishing_components/components/notice', @content_item.withdrawal_notice_component %>
<%= render 'components/brexit-notice', @content_item.brexit_notice_component unless @content_item.withdrawal_notice_component %>

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds responsive-bottom-margin">
Expand Down
65 changes: 0 additions & 65 deletions test/components/brexit_notice_test.rb

This file was deleted.

0 comments on commit 7b56c36

Please sign in to comment.