diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-10 02:26:13 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-10 02:26:13 +0300 |
commit | fe2137d871b978033007a3375cf6f1edf0f04cd4 (patch) | |
tree | e75b2aca3150efd6433314fb57e10c6ba763db6e /app/views/layouts | |
parent | 504a1fac95a2af2cf90f00f310d244d8d37f0015 (diff) | |
download | gitlab-ce-fe2137d871b978033007a3375cf6f1edf0f04cd4.tar.gz |
Improve pipelines design
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/nav/_project.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/layouts/nav/_project.html.haml b/app/views/layouts/nav/_project.html.haml index 6c3f8efc74e..8f5739cf92e 100644 --- a/app/views/layouts/nav/_project.html.haml +++ b/app/views/layouts/nav/_project.html.haml @@ -39,12 +39,12 @@ Commits - if project_nav_tab? :builds - = nav_link(controller: %w(pipelines)) do - = link_to project_pipelines_path(@project), title: 'Pipelines', class: 'shortcuts-builds' do + = nav_link(controller: :pipelines) do + = link_to project_pipelines_path(@project), title: 'Pipelines', class: 'shortcuts-pipelines' do = icon('ship fw') %span Pipelines - %span.count.ci_counter= number_with_delimiter(@project.ci_commits.running_or_pending.count(:all)) + %span.count.ci_counter= number_with_delimiter(@project.ci_commits.running_or_pending.count) = nav_link(controller: %w(builds)) do = link_to project_builds_path(@project), title: 'Builds', class: 'shortcuts-builds' do |