diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-12-31 06:03:43 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-01-01 04:04:23 +0300 |
commit | bf249550d03a21d4aca3847b6d32b6d71de3956b (patch) | |
tree | 4b8782a195615a32c20f1f889bc20100ccfa1c0e /app/views/admin/builds | |
parent | 7945cf4163e069c5535968812d259541ec2fd4e8 (diff) |
number_with_delimiter most of the things
Diffstat (limited to 'app/views/admin/builds')
-rw-r--r-- | app/views/admin/builds/index.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/builds/index.html.haml b/app/views/admin/builds/index.html.haml index 55da06a7fe9..52c36af6225 100644 --- a/app/views/admin/builds/index.html.haml +++ b/app/views/admin/builds/index.html.haml @@ -8,17 +8,17 @@ %li{class: ('active' if @scope.nil?)} = link_to admin_builds_path do Running - %span.badge.js-running-count= @all_builds.running_or_pending.count(:id) + %span.badge.js-running-count= number_with_delimiter(@all_builds.running_or_pending.count(:id)) %li{class: ('active' if @scope == 'finished')} = link_to admin_builds_path(scope: :finished) do Finished - %span.badge.js-running-count= @all_builds.finished.count(:id) + %span.badge.js-running-count= number_with_delimiter(@all_builds.finished.count(:id)) %li{class: ('active' if @scope == 'all')} = link_to admin_builds_path(scope: :all) do All - %span.badge.js-totalbuilds-count= @all_builds.count(:id) + %span.badge.js-totalbuilds-count= number_with_delimiter(@all_builds.count(:id)) .gray-content-block #{(@scope || 'running').capitalize} builds |