diff --git a/app/controllers/content_items_controller.rb b/app/controllers/content_items_controller.rb index d758ad25d..6832e93af 100644 --- a/app/controllers/content_items_controller.rb +++ b/app/controllers/content_items_controller.rb @@ -95,6 +95,7 @@ def show_service_manual_page service_manual_service_standard service_manual_topic service_manual_homepage + service_manual_service_toolkit ] @do_not_show_breadcrumbs = diff --git a/app/presenters/content_item_presenter.rb b/app/presenters/content_item_presenter.rb index 45176be91..625b6d7c7 100644 --- a/app/presenters/content_item_presenter.rb +++ b/app/presenters/content_item_presenter.rb @@ -92,7 +92,7 @@ def show_phase_banner? phase.in?(%w[alpha beta]) end - def show_service_manual_phase_banner? + def service_manual? false end diff --git a/app/presenters/service_manual_presenter.rb b/app/presenters/service_manual_presenter.rb index 80d2fe57e..76d81b984 100644 --- a/app/presenters/service_manual_presenter.rb +++ b/app/presenters/service_manual_presenter.rb @@ -11,7 +11,7 @@ def include_search_in_header? true end - def show_service_manual_phase_banner? + def service_manual? true end diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index db9782442..c54739613 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -30,16 +30,23 @@ <%= yield :extra_head_content %>
+ <% if @content_item.service_manual? %> +