Skip to content

Commit e845dca

Browse files
committed
Remove code associated with Contextual Comms A/B test
1 parent bc8901f commit e845dca

11 files changed

+0
-422
lines changed

app/assets/stylesheets/components/_blue-box-campaign.scss

-43
This file was deleted.

app/assets/stylesheets/components/_native-campaign.scss

-31
This file was deleted.

app/controllers/concerns/contextual_comms_ab_testable.rb

-176
This file was deleted.

app/controllers/content_items_controller.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
class ContentItemsController < ApplicationController
2-
include ContextualCommsAbTestable
32

43
rescue_from GdsApi::HTTPForbidden, with: :error_403
54
rescue_from GdsApi::HTTPNotFound, with: :error_notfound

app/views/components/_blue-box-campaign.html.erb

-6
This file was deleted.

app/views/components/_native-campaign.html.erb

-5
This file was deleted.

app/views/layouts/application.html.erb

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
<meta name="twitter:card" content="summary" />
4545
<% end %>
4646

47-
<%= contextual_comms_test_variant.analytics_meta_tag.html_safe if whitelisted_campaign_page? %>
4847
<%= yield :extra_head_content %>
4948
</head>
5049
<body>
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
11
<div class="column-one-third">
22
<%= render 'govuk_publishing_components/components/contextual_sidebar', content_item: @content_item.content_item.parsed_content %>
3-
<!-- Rendering the contextual communications campaign test -->
4-
<% if show_contextual_comms_campaign? %>
5-
<% if show_blue_box_campaign? %>
6-
<%= render 'components/blue-box-campaign', title: campaign_title, description: campaign_description, href: campaign_link %>
7-
<% end %>
8-
<% if show_native_campaign? %>
9-
<%= render 'components/native-campaign', title: campaign_title, description: campaign_description, href: campaign_link %>
10-
<% end %>
11-
<% end %>
123
</div>

test/components/blue_box_campaign_test.rb

-20
This file was deleted.

test/components/native_campaign_test.rb

-20
This file was deleted.

0 commit comments

Comments
 (0)