summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-06-13 12:32:53 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-06-13 12:32:53 +0300
commit0e50fa24a5b4ff7665a68da2a1221b5cae9e5633 (patch)
treeaaea790a6f5817a8a6d41d29f397ea95cbebccee
parent714a60b45c07fe1fd241863230422d2f76e4bcb6 (diff)
downloadgitlab-ce-dz-cleanup-counters.tar.gz
Remove counters from Pipeline navigationdz-cleanup-counters
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/views/projects/pipelines/_head.html.haml2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/views/projects/pipelines/_head.html.haml b/app/views/projects/pipelines/_head.html.haml
index f278d4e0538..d0ba0d27d7c 100644
--- a/app/views/projects/pipelines/_head.html.haml
+++ b/app/views/projects/pipelines/_head.html.haml
@@ -5,11 +5,9 @@
= link_to project_pipelines_path(@project), title: 'Pipelines', class: 'shortcuts-pipelines' do
%span
Pipelines
- %span.badge.count.ci_counter= number_with_delimiter(@project.pipelines.running_or_pending.count)
- if project_nav_tab? :builds
= nav_link(controller: %w(builds)) do
= link_to project_builds_path(@project), title: 'Builds', class: 'shortcuts-builds' do
%span
Builds
- %span.badge.count.builds_counter= number_with_delimiter(@project.running_or_pending_build_count)