debian-mirror-gitlab/app/views/shared/builds/_tabs.html.haml

25 lines
1 KiB
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
%ul.nav-links.mobile-separator.nav.nav-tabs
2017-08-17 22:00:37 +05:30
%li{ class: active_when(scope.nil?) }>
2016-09-29 09:46:39 +05:30
= link_to build_path_proc.call(nil) do
All
2021-06-08 01:23:25 +05:30
%span.badge.gl-tab-counter-badge.badge-muted.badge-pill.gl-badge.sm.js-totalbuilds-count
2018-03-17 18:26:18 +05:30
= limited_counter_with_delimiter(all_builds)
2016-09-29 09:46:39 +05:30
2017-08-17 22:00:37 +05:30
%li{ class: active_when(scope == 'pending') }>
2016-09-29 09:46:39 +05:30
= link_to build_path_proc.call('pending') do
Pending
2021-06-08 01:23:25 +05:30
%span.badge.gl-tab-counter-badge.badge-muted.badge-pill.gl-badge.sm
2018-03-17 18:26:18 +05:30
= limited_counter_with_delimiter(all_builds.pending)
2016-09-29 09:46:39 +05:30
2017-08-17 22:00:37 +05:30
%li{ class: active_when(scope == 'running') }>
2016-09-29 09:46:39 +05:30
= link_to build_path_proc.call('running') do
Running
2021-06-08 01:23:25 +05:30
%span.badge.gl-tab-counter-badge.badge-muted.badge-pill.gl-badge.sm
2018-03-17 18:26:18 +05:30
= limited_counter_with_delimiter(all_builds.running)
2016-09-29 09:46:39 +05:30
2017-08-17 22:00:37 +05:30
%li{ class: active_when(scope == 'finished') }>
2016-09-29 09:46:39 +05:30
= link_to build_path_proc.call('finished') do
Finished
2021-06-08 01:23:25 +05:30
%span.badge.gl-tab-counter-badge.badge-muted.badge-pill.gl-badge.sm
2018-03-17 18:26:18 +05:30
= limited_counter_with_delimiter(all_builds.finished)