Skip to content

Commit

Permalink
Merge pull request #3598 from alphagov/remove-show-explore-header-option
Browse files Browse the repository at this point in the history
Remove `show_explore_header` from view templates
  • Loading branch information
MartinJJones authored Mar 3, 2025
2 parents 364a746 + 7bf7d1f commit 739e6cd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/views/root/_gem_base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
product_name ||= nil
navigation_items ||= []
one_login_navigation_items ||= {}
show_explore_header = show_explore_header === false ? false : true
show_cross_service_header ||= false
show_account_layout ||= false
account_nav_location ||= nil
Expand Down Expand Up @@ -37,7 +36,6 @@
product_name: product_name,
show_account_layout: show_account_layout,
show_cross_service_header: show_cross_service_header,
show_explore_header: show_explore_header,
title: content_for?(:title) ? yield(:title) : "GOV.UK - The best place to find government services and information",
footer_meta: footer_meta,
} %>
1 change: 0 additions & 1 deletion app/views/root/gem_layout_account_manager.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
product_name: "GOV.UK email subscriptions",
show_account_layout: true,
show_cross_service_header: true,
show_explore_header: false,
omit_account_navigation: true,
one_login_navigation_items: {
one_login_home: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
locals: {
full_width: true,
omit_footer_navigation: true,
show_explore_header: false
}
%>
1 change: 0 additions & 1 deletion app/views/root/gem_layout_no_footer_navigation.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render partial: "gem_base",
locals: {
omit_footer_navigation: true,
show_explore_header: false
}
%>

0 comments on commit 739e6cd

Please sign in to comment.