2018-04-19 23:34:20 -04:00
|
|
|
%ul.nav-links.mobile-separator.nav.nav-tabs
|
2017-02-12 03:02:26 -05:00
|
|
|
%li{ class: active_when(scope.nil?) }>
|
2016-09-12 03:52:56 -04:00
|
|
|
= link_to build_path_proc.call(nil) do
|
2016-09-07 09:27:48 -04:00
|
|
|
All
|
2018-04-09 12:33:41 -04:00
|
|
|
%span.badge.badge-pill.js-totalbuilds-count
|
2017-09-26 07:42:04 -04:00
|
|
|
= limited_counter_with_delimiter(all_builds)
|
2016-09-07 09:27:48 -04:00
|
|
|
|
2017-02-12 03:02:26 -05:00
|
|
|
%li{ class: active_when(scope == 'pending') }>
|
2016-09-12 03:52:56 -04:00
|
|
|
= link_to build_path_proc.call('pending') do
|
2016-09-07 09:27:48 -04:00
|
|
|
Pending
|
2018-04-09 12:33:41 -04:00
|
|
|
%span.badge.badge-pill
|
2017-09-26 07:42:04 -04:00
|
|
|
= limited_counter_with_delimiter(all_builds.pending)
|
2016-09-07 09:27:48 -04:00
|
|
|
|
2017-02-12 03:02:26 -05:00
|
|
|
%li{ class: active_when(scope == 'running') }>
|
2016-09-12 03:52:56 -04:00
|
|
|
= link_to build_path_proc.call('running') do
|
2016-09-07 09:27:48 -04:00
|
|
|
Running
|
2018-04-09 12:33:41 -04:00
|
|
|
%span.badge.badge-pill
|
2017-09-26 07:42:04 -04:00
|
|
|
= limited_counter_with_delimiter(all_builds.running)
|
2016-09-07 09:27:48 -04:00
|
|
|
|
2017-02-12 03:02:26 -05:00
|
|
|
%li{ class: active_when(scope == 'finished') }>
|
2016-09-12 03:52:56 -04:00
|
|
|
= link_to build_path_proc.call('finished') do
|
2016-09-07 09:27:48 -04:00
|
|
|
Finished
|
2018-04-09 12:33:41 -04:00
|
|
|
%span.badge.badge-pill
|
2017-09-26 07:42:04 -04:00
|
|
|
= limited_counter_with_delimiter(all_builds.finished)
|