diff --git a/app/views/content_items/detailed_guide.html.erb b/app/views/content_items/detailed_guide.html.erb index be495fead..3d8b35f7b 100644 --- a/app/views/content_items/detailed_guide.html.erb +++ b/app/views/content_items/detailed_guide.html.erb @@ -17,6 +17,7 @@ "/guidance/brexit-guidance-for-businesses", "/guidance/brexit-guidance-for-individuals-and-families", "/guidance/import-and-export-goods-using-preference-agreements", + "/guidance/financial-evidence-for-sponsored-or-endorsed-work-routes", ] %> <% if scroll_track_headings_paths.include?(@content_item.base_path) %> diff --git a/app/views/content_items/guide.html.erb b/app/views/content_items/guide.html.erb index 2ffd3193e..aeabf3575 100644 --- a/app/views/content_items/guide.html.erb +++ b/app/views/content_items/guide.html.erb @@ -14,10 +14,18 @@ "/taking-goods-out-uk-temporarily/get-an-ata-carnet", ] + scroll_track_percent_paths = [ + "/skilled-worker-visa", + "/skilled-worker-visa/documents-you-must-provide", + "/apply-to-come-to-the-uk", + ] + full_url = [@content_item.base_path, @content_item.part_slug].compact.join('/') %> <% if scroll_track_headings_paths.include?(full_url) %> + <% elsif scroll_track_percent_paths.include?(@content_item.base_path) %> + <% end %> <% end %>