diff options
author | Kushal Pandya <kushalspandya@gmail.com> | 2017-03-27 22:20:43 +0000 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-03-27 22:20:43 +0000 |
commit | b52f45a0dbdb9d4d8d0dc63c3ac3a7e6e30ee679 (patch) | |
tree | b4485f2497438deb674fd1d757ce02261112d4c6 /app/views | |
parent | a6762595c4f334350a8cf122b975769d02176cbb (diff) | |
download | gitlab-ce-b52f45a0dbdb9d4d8d0dc63c3ac3a7e6e30ee679.tar.gz |
Fix sub-nav highlighting for `Environments` and `Jobs` pages
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/pipelines/_head.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/pipelines/_head.html.haml b/app/views/projects/pipelines/_head.html.haml index b02fef638ff..bc57f7f1c46 100644 --- a/app/views/projects/pipelines/_head.html.haml +++ b/app/views/projects/pipelines/_head.html.haml @@ -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 |