Commit a9b1a85b authored by Alfredo Sumaran's avatar Alfredo Sumaran

Merge branch '30112-fix-pipelines-sub-nav-highlight' into 'master'

Fix sub-nav highlighting for `Environments` and `Jobs` pages

Closes #30112

See merge request !10254
parents a6762595 b52f45a0
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
Pipelines Pipelines
- if project_nav_tab? :builds - if project_nav_tab? :builds
= nav_link(path: 'builds#index', controller: :builds) do = nav_link(controller: :builds) do
= link_to project_builds_path(@project), title: 'Jobs', class: 'shortcuts-builds' do = link_to project_builds_path(@project), title: 'Jobs', class: 'shortcuts-builds' do
%span %span
Jobs Jobs
- if project_nav_tab? :environments - if project_nav_tab? :environments
= nav_link(path: 'environments#index', controller: :environments) do = nav_link(controller: :environments) do
= link_to project_environments_path(@project), title: 'Environments', class: 'shortcuts-environments' do = link_to project_environments_path(@project), title: 'Environments', class: 'shortcuts-environments' do
%span %span
Environments Environments
......
---
title: Fix sub-nav highlighting for `Environments` and `Jobs` pages
merge_request: 10254
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment