Commit 463f1cb5 authored by Katarzyna Kobierska's avatar Katarzyna Kobierska

Remove unused .js-running-count class

parent a3d8f89d
...@@ -13,17 +13,17 @@ ...@@ -13,17 +13,17 @@
%li{class: ('active' if @scope == 'pending')} %li{class: ('active' if @scope == 'pending')}
= link_to admin_builds_path(scope: :pending) do = link_to admin_builds_path(scope: :pending) do
Pending Pending
%span.badge.js-running-count= number_with_delimiter(@all_builds.pending.count(:id)) %span.badge= number_with_delimiter(@all_builds.pending.count(:id))
%li{class: ('active' if @scope == 'running')} %li{class: ('active' if @scope == 'running')}
= link_to admin_builds_path(scope: :running) do = link_to admin_builds_path(scope: :running) do
Running Running
%span.badge.js-running-count= number_with_delimiter(@all_builds.running.count(:id)) %span.badge= number_with_delimiter(@all_builds.running.count(:id))
%li{class: ('active' if @scope == 'finished')} %li{class: ('active' if @scope == 'finished')}
= link_to admin_builds_path(scope: :finished) do = link_to admin_builds_path(scope: :finished) do
Finished Finished
%span.badge.js-running-count= number_with_delimiter(@all_builds.finished.count(:id)) %span.badge= number_with_delimiter(@all_builds.finished.count(:id))
.nav-controls .nav-controls
- if @all_builds.running_or_pending.any? - if @all_builds.running_or_pending.any?
......
...@@ -14,19 +14,19 @@ ...@@ -14,19 +14,19 @@
%li{class: ('active' if @scope == 'pending')} %li{class: ('active' if @scope == 'pending')}
= link_to project_builds_path(@project, scope: :pending) do = link_to project_builds_path(@project, scope: :pending) do
Pending Pending
%span.badge.js-running-count %span.badge
= number_with_delimiter(@all_builds.pending.count(:id)) = number_with_delimiter(@all_builds.pending.count(:id))
%li{class: ('active' if @scope == 'running')} %li{class: ('active' if @scope == 'running')}
= link_to project_builds_path(@project, scope: :running) do = link_to project_builds_path(@project, scope: :running) do
Running Running
%span.badge.js-running-count %span.badge
= number_with_delimiter(@all_builds.running.count(:id)) = number_with_delimiter(@all_builds.running.count(:id))
%li{class: ('active' if @scope == 'finished')} %li{class: ('active' if @scope == 'finished')}
= link_to project_builds_path(@project, scope: :finished) do = link_to project_builds_path(@project, scope: :finished) do
Finished Finished
%span.badge.js-running-count %span.badge
= number_with_delimiter(@all_builds.finished.count(:id)) = number_with_delimiter(@all_builds.finished.count(:id))
.nav-controls .nav-controls
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment