Skip to content

Commit

Permalink
Merge pull request #3197 from alphagov/remove-research-banner
Browse files Browse the repository at this point in the history
Remove research banner
  • Loading branch information
patrickpatrickpatrick authored Oct 26, 2023
2 parents f9c99f1 + 90a98a4 commit 3c64204
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions app/controllers/finders_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ def show
format.html do
raise UnsupportedContentItem unless content_item.is_finder?

@show_banner = content_item.base_path == "/government/organisations/hm-revenue-customs/contact"

if legacy_params_present?
transform_legacy_announcement_params_and_redirect if content_item.base_path == "/search/news-and-communications"
transform_legacy_publication_params_and_redirect if content_item.base_path == "/search/all"
Expand Down
9 changes: 0 additions & 9 deletions app/views/finders/_show_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@
<%= render 'govuk_publishing_components/components/contextual_breadcrumbs', content_item: content_item.as_hash, inverse: inverse, ga4_tracking: true %>
<% end %>

<% if @show_banner %>
<%= render "govuk_publishing_components/components/intervention", {
suggestion_text: "Help improve a new GOV.UK tool",
suggestion_link_text: "Sign up to take part in user research",
suggestion_link_url: "https://surveys.publishing.service.gov.uk/s/SNFVW1/",
new_tab: true,
} %>
<% end %>

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<% if content_item.all_content_finder? %>
Expand Down

0 comments on commit 3c64204

Please sign in to comment.