Commit b52f45a0 authored by Kushal Pandya's avatar Kushal Pandya Committed by Alfredo Sumaran

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

parent a6762595
......@@ -10,13 +10,13 @@
Pipelines
- 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
%span
Jobs
- 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
%span
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