diff --git a/app/presenters/content_item/recruitment_banner.rb b/app/presenters/content_item/recruitment_banner.rb index 25a4e6d35..b5dc2e2d0 100644 --- a/app/presenters/content_item/recruitment_banner.rb +++ b/app/presenters/content_item/recruitment_banner.rb @@ -1,17 +1,5 @@ module ContentItem module RecruitmentBanner - SURVEY_URL = "https://surveys.publishing.service.gov.uk/s/SNFVW1/".freeze - SURVEY_URL_MAPPINGS = { - "/log-in-register-hmrc-online-services" => SURVEY_URL, - "/log-in-file-self-assessment-tax-return" => SURVEY_URL, - "/self-assessment-tax-returns" => SURVEY_URL, - "/pay-self-assessment-tax-bill" => SURVEY_URL, - "/contact-hmrc" => SURVEY_URL, - "/log-in-register-hmrc-online-services/register" => SURVEY_URL, - "/dbs-update-service" => SURVEY_URL, - "/government/organisations/hm-revenue-customs/contact/self-assessment" => SURVEY_URL, - }.freeze - BENEFITS_SURVEY_URL = "https://signup.take-part-in-research.service.gov.uk/home?utm_campaign=Content_History&utm_source=Hold_gov_to_account&utm_medium=gov.uk&t=GDS&id=16".freeze BENEFITS_SURVEY_URL_MAPPINGS = { "/disability-living-allowance-children" => BENEFITS_SURVEY_URL, @@ -31,18 +19,9 @@ module RecruitmentBanner "/benefits-calculators" => BENEFITS_SURVEY_URL, }.freeze - def recruitment_survey_url - user_research_test_url - end - def benefits_recruitment_survey_url key = content_item["base_path"] BENEFITS_SURVEY_URL_MAPPINGS[key] end - - def user_research_test_url - key = content_item["base_path"] - SURVEY_URL_MAPPINGS[key] - end end end diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index ad263732f..a23f603b4 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -29,16 +29,7 @@ <% end %> <% end %> - <% if @content_item.recruitment_survey_url %> -