summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorKatarzyna Kobierska <kkobierska@gmail.com>2016-07-11 10:33:04 +0200
committerKatarzyna Kobierska <kkobierska@gmail.com>2016-07-18 10:23:32 +0200
commit463f1cb52b0d57f0e388a0324a06f1a90bb9ea09 (patch)
tree447ec79e5d61fac9c5d6fd1f0538ec0e5a33794a /app/views/projects
parenta3d8f89d9fd8e49017850e8e2a2c2ddcd405c7e7 (diff)
downloadgitlab-ce-463f1cb52b0d57f0e388a0324a06f1a90bb9ea09.tar.gz
Remove unused .js-running-count class
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/builds/index.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/builds/index.html.haml b/app/views/projects/builds/index.html.haml
index 41f0462e4be..2af625f69cd 100644
--- a/app/views/projects/builds/index.html.haml
+++ b/app/views/projects/builds/index.html.haml
@@ -14,19 +14,19 @@
%li{class: ('active' if @scope == 'pending')}
= link_to project_builds_path(@project, scope: :pending) do
Pending
- %span.badge.js-running-count
+ %span.badge
= number_with_delimiter(@all_builds.pending.count(:id))
%li{class: ('active' if @scope == 'running')}
= link_to project_builds_path(@project, scope: :running) do
Running
- %span.badge.js-running-count
+ %span.badge
= number_with_delimiter(@all_builds.running.count(:id))
%li{class: ('active' if @scope == 'finished')}
= link_to project_builds_path(@project, scope: :finished) do
Finished
- %span.badge.js-running-count
+ %span.badge
= number_with_delimiter(@all_builds.finished.count(:id))
.nav-controls