diff options
author | Kushal Pandya <kushal@gitlab.com> | 2017-02-21 17:30:37 +0530 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2017-03-02 16:47:30 +0530 |
commit | 5ceb38e17cab7fd349f5ae17f747e1de6a12fea0 (patch) | |
tree | 8d4fa8399c31840bb028a08a3a532c397f4218fd | |
parent | 939428ca8ffd5baaceafd7d84b0ffe11e2999a03 (diff) | |
download | gitlab-ce-5ceb38e17cab7fd349f5ae17f747e1de6a12fea0.tar.gz |
Add path name for highlight
-rw-r--r-- | app/views/projects/pipelines/_head.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/projects/pipelines/_head.html.haml b/app/views/projects/pipelines/_head.html.haml index 633f987512e..0243cff02d9 100644 --- a/app/views/projects/pipelines/_head.html.haml +++ b/app/views/projects/pipelines/_head.html.haml @@ -4,25 +4,25 @@ .nav-links.sub-nav.scrolling-tabs{ class: ('build' if local_assigns.fetch(:build_subnav, false)) } %ul{ class: (container_class) } - if project_nav_tab? :pipelines - = nav_link(controller: :pipelines) do + = nav_link(path: 'pipelines#index', controller: :pipelines) do = link_to project_pipelines_path(@project), title: 'Pipelines', class: 'shortcuts-pipelines' do %span Pipelines - if project_nav_tab? :builds - = nav_link(controller: %w(builds)) do + = nav_link(path: 'builds#index', controller: %w(builds)) do = link_to project_builds_path(@project), title: 'Jobs', class: 'shortcuts-builds' do %span Jobs - if project_nav_tab? :environments - = nav_link(controller: %w(environments)) do + = nav_link(path: 'environments#index', controller: %w(environments)) do = link_to project_environments_path(@project), title: 'Environments', class: 'shortcuts-environments' do %span Environments - if @project.feature_available?(:builds, current_user) && !@project.empty_repo? - = nav_link(controller: :graphs, action: :ci) do + = nav_link(path: 'graphs#ci', controller: :graphs, action: :ci) do = link_to ci_namespace_project_graph_path(@project.namespace, @project, @project.default_branch) do %span Charts |