2018-04-19 23:34:20 -04:00
|
|
|
%ul.nav-links.mobile-separator.nav.nav-tabs
|
2017-05-07 18:35:56 -04:00
|
|
|
%li{ class: active_when(scope.nil?) }>
|
|
|
|
= link_to schedule_path_proc.call(nil) do
|
2017-06-07 09:46:10 -04:00
|
|
|
= s_("PipelineSchedules|All")
|
2018-04-09 12:33:41 -04:00
|
|
|
%span.badge.badge-pill.js-totalbuilds-count
|
2017-05-07 18:35:56 -04:00
|
|
|
= number_with_delimiter(all_schedules.count(:id))
|
|
|
|
|
|
|
|
%li{ class: active_when(scope == 'active') }>
|
|
|
|
= link_to schedule_path_proc.call('active') do
|
2017-06-07 09:46:10 -04:00
|
|
|
= s_("PipelineSchedules|Active")
|
2018-04-09 12:33:41 -04:00
|
|
|
%span.badge.badge-pill
|
2017-05-07 18:35:56 -04:00
|
|
|
= number_with_delimiter(all_schedules.active.count(:id))
|
|
|
|
|
|
|
|
%li{ class: active_when(scope == 'inactive') }>
|
|
|
|
= link_to schedule_path_proc.call('inactive') do
|
2017-06-07 09:46:10 -04:00
|
|
|
= s_("PipelineSchedules|Inactive")
|
2018-04-09 12:33:41 -04:00
|
|
|
%span.badge.badge-pill
|
2017-05-07 18:35:56 -04:00
|
|
|
= number_with_delimiter(all_schedules.inactive.count(:id))
|