diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 19:33:41 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 19:33:41 +0300 |
commit | 1c75a0e27c31b64b6426e0a4315e9ce7363d3b13 (patch) | |
tree | fcac6120f79d78e0dcb1774ab841423c92ee6e2d /app/views/shared/builds | |
parent | 88cb02baadfec724078a2bc2ec41d7509eec7ca9 (diff) |
Add badge-pill to .badge in haml
Diffstat (limited to 'app/views/shared/builds')
-rw-r--r-- | app/views/shared/builds/_tabs.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/shared/builds/_tabs.html.haml b/app/views/shared/builds/_tabs.html.haml index 0b003125912..b3f63165cc2 100644 --- a/app/views/shared/builds/_tabs.html.haml +++ b/app/views/shared/builds/_tabs.html.haml @@ -2,23 +2,23 @@ %li{ class: active_when(scope.nil?) }> = link_to build_path_proc.call(nil) do All - %span.badge.js-totalbuilds-count + %span.badge.badge-pill.js-totalbuilds-count = limited_counter_with_delimiter(all_builds) %li{ class: active_when(scope == 'pending') }> = link_to build_path_proc.call('pending') do Pending - %span.badge + %span.badge.badge-pill = limited_counter_with_delimiter(all_builds.pending) %li{ class: active_when(scope == 'running') }> = link_to build_path_proc.call('running') do Running - %span.badge + %span.badge.badge-pill = limited_counter_with_delimiter(all_builds.running) %li{ class: active_when(scope == 'finished') }> = link_to build_path_proc.call('finished') do Finished - %span.badge + %span.badge.badge-pill = limited_counter_with_delimiter(all_builds.finished) |