Skip to content

Commit

Permalink
Merge pull request #3748 from alphagov/remove-user-research-banner
Browse files Browse the repository at this point in the history
Remove user research banner for One Login
  • Loading branch information
catalinailie committed Sep 6, 2023
2 parents 4f5d419 + 4764d16 commit d42b3f4
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 63 deletions.
20 changes: 0 additions & 20 deletions app/presenters/content_item/recruitment_banner.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,5 +1,4 @@
class ContentItemPresenter
include ContentItem::RecruitmentBanner
attr_reader :content_item

def initialize(content_item)
Expand Down
9 changes: 1 addition & 8 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@
<%= yield %>
</main>
<% else %>
<% if publication && publication.recruitment_survey_url %>
<%= render "govuk_publishing_components/components/intervention", {
suggestion_text: "Help improve GOV.UK",
suggestion_link_text: "Take part in user research (opens in a new tab)",
suggestion_link_url: publication.recruitment_survey_url,
new_tab: true,
} %>
<% elsif publication && publication.in_beta %>
<% if publication && publication.in_beta %>
<%= render 'govuk_publishing_components/components/phase_banner', phase: "beta", ga4_tracking: true %>
<% end %>
<% unless current_page?(root_path) || !(publication || @calendar) %>
Expand Down
34 changes: 0 additions & 34 deletions test/integration/recruitment_banner_test.rb

This file was deleted.

0 comments on commit d42b3f4

Please sign in to comment.