Skip to content

Commit

Permalink
Merge pull request #1636 from alphagov/revert-1629-no-deal-notice
Browse files Browse the repository at this point in the history
Revert "No deal notice"
  • Loading branch information
Vanita Barrett authored Jan 27, 2020
2 parents 25ce85d + 28f27f9 commit 37e4266
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 197 deletions.
32 changes: 0 additions & 32 deletions app/assets/stylesheets/components/_header-notice.scss

This file was deleted.

55 changes: 0 additions & 55 deletions app/presenters/content_item/no_deal_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::NoDealNotice
include ApplicationHelper

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

This file was deleted.

24 changes: 0 additions & 24 deletions app/views/components/docs/header-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/header-notice', @content_item.no_deal_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/header-notice', @content_item.no_deal_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/header-notice', @content_item.no_deal_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 @@ -35,7 +35,6 @@
<% end %>

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

<div
class="govuk-grid-row sidebar-with-body"
Expand Down
2 changes: 0 additions & 2 deletions app/views/content_items/publication.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@

<%= 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/header-notice', @content_item.no_deal_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
49 changes: 0 additions & 49 deletions test/components/header_notice_test.rb

This file was deleted.

0 comments on commit 37e4266

Please sign in to comment.