Skip to content

Commit

Permalink
Merge pull request #3924 from alphagov/user_research_banner
Browse files Browse the repository at this point in the history
Remove call to intervention banner from layout
  • Loading branch information
hannako authored Dec 20, 2024
2 parents 574f06e + f76a053 commit 1c84d61
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
unless (!content_item_h["locale"])
lang = content_item_h["locale"]
end
unless content_item_h["base_path"].include? "/browse"
call_recruitment_banner_partial = true
end
end
%>

Expand All @@ -22,9 +19,6 @@
<%= render 'breadcrumbs' %>
<% end %>
<% end %>
<% if call_recruitment_banner_partial %>
<%= render "govuk_web_banners/recruitment_banner" %>
<% end %>
<%=
content_tag(:main,
id: "content",
Expand Down
1 change: 1 addition & 0 deletions app/views/organisations/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<%= render partial: 'meta', locals: { organisation: @organisation } %>
<%= render partial: 'breadcrumb' %>
<%= render "govuk_web_banners/recruitment_banner" %>
<%= render partial: 'header' %>
<% if @organisation.custom_banner %>
<%= render "govuk_publishing_components/components/notice", {
Expand Down
1 change: 0 additions & 1 deletion spec/fixtures/graphql/world_index.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"data": {
"edition": {
"base_path": "/world",
"title": "Help and services around the world",
"details": {
"world_locations": [
Expand Down

0 comments on commit 1c84d61

Please sign in to comment.