Skip to content

Commit

Permalink
Remove the Start a Business Interventions code
Browse files Browse the repository at this point in the history
the experiment is over, so there's no need for the code to be there anymore.
For the next experiment we can find it in the commit logs.
  • Loading branch information
maxf committed Nov 8, 2021
1 parent cc72975 commit 4b8b9de
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 116 deletions.
1 change: 0 additions & 1 deletion app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
//= require govuk_publishing_components/components/error-summary
//= require govuk_publishing_components/components/feedback
//= require govuk_publishing_components/components/govspeak
//= require govuk_publishing_components/components/intervention
//= require govuk_publishing_components/components/print-link
//= require govuk_publishing_components/components/radio
//= require govuk_publishing_components/components/step-by-step-nav
Expand Down
1 change: 0 additions & 1 deletion app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ $govuk-new-link-styles: true;
@import 'govuk_publishing_components/components/hint';
@import 'govuk_publishing_components/components/image-card';
@import 'govuk_publishing_components/components/input';
@import 'govuk_publishing_components/components/intervention';
@import 'govuk_publishing_components/components/inverse-header';
@import 'govuk_publishing_components/components/label';
@import 'govuk_publishing_components/components/lead-paragraph';
Expand Down
41 changes: 0 additions & 41 deletions app/controllers/ab_tests/sab_pages_testable.rb

This file was deleted.

2 changes: 0 additions & 2 deletions app/controllers/content_items_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
class ContentItemsController < ApplicationController
include AbTests::SabPagesTestable

rescue_from GdsApi::HTTPForbidden, with: :error_403
rescue_from GdsApi::HTTPNotFound, with: :error_notfound
rescue_from GdsApi::HTTPGone, with: :error_410
Expand Down
2 changes: 0 additions & 2 deletions app/views/content_items/_body_with_related_links.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="responsive-bottom-margin">
<%= render 'govuk_publishing_components/components/intervention' if should_show_sab_intervention? %>

<%= render 'govuk_publishing_components/components/govspeak', {
direction: page_text_direction,
disable_youtube_expansions: true,
Expand Down
2 changes: 0 additions & 2 deletions app/views/content_items/document_collection.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
<%= render 'components/important-metadata',
items: @content_item.important_metadata %>

<%= render 'govuk_publishing_components/components/intervention' if should_show_sab_intervention? %>

<%= render "components/contents-list-with-body", contents: @content_item.contents do %>
<div class="responsive-bottom-margin">
<%= render 'document_collection_body' %>
Expand Down
2 changes: 0 additions & 2 deletions app/views/content_items/guide.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
<div class="govuk-grid-column-two-thirds">
<%= render 'govuk_publishing_components/components/title', { title: @content_item.content_title } %>

<%= render 'govuk_publishing_components/components/intervention' if should_show_sab_intervention? %>

<% if @content_item.show_guide_navigation? %>
<%= render "govuk_publishing_components/components/skip_link", {
text: t("guide.skip_to_contents"),
Expand Down
1 change: 0 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
<%= javascript_include_tag "application", integrity: false %>
<%= csrf_meta_tags %>
<%= render 'govuk_publishing_components/components/meta_tags', content_item: @content_item.content_item %>
<%= sab_page_variant.analytics_meta_tag.html_safe if is_testable_sab_page? %>

<% if @content_item.description %>
<meta name="description" content="<%= strip_tags(@content_item.description) %>" />
Expand Down
64 changes: 0 additions & 64 deletions test/controllers/sab_ab_test.rb

This file was deleted.

0 comments on commit 4b8b9de

Please sign in to comment.