2017-01-14 10:27:50 -05:00
|
|
|
.stage-cell
|
2017-06-01 05:55:18 -04:00
|
|
|
- pipeline.legacy_stages.each do |stage|
|
2017-01-14 10:27:50 -05:00
|
|
|
- if stage.status
|
|
|
|
- detailed_status = stage.detailed_status(current_user)
|
|
|
|
- icon_status = "#{detailed_status.icon}_borderless"
|
|
|
|
|
2019-04-25 14:49:13 -04:00
|
|
|
.stage-container.mt-0.ml-1.dropdown{ class: klass }
|
2018-05-01 17:56:33 -04:00
|
|
|
%button.mini-pipeline-graph-dropdown-toggle.has-tooltip.js-builds-dropdown-button{ class: "ci-status-icon-#{detailed_status.group}", type: 'button', data: { toggle: 'dropdown', title: "#{stage.name}: #{detailed_status.label}", placement: 'top', "stage-endpoint" => stage_ajax_project_pipeline_path(pipeline.project, pipeline, stage: stage.name) } }
|
2017-10-10 04:19:20 -04:00
|
|
|
= sprite_icon(icon_status)
|
2017-01-14 10:27:50 -05:00
|
|
|
|
|
|
|
%ul.dropdown-menu.mini-pipeline-graph-dropdown-menu.js-builds-dropdown-container
|
2017-05-04 09:11:48 -04:00
|
|
|
%li.js-builds-dropdown-list.scrollable-menu
|
2018-04-19 07:00:27 -04:00
|
|
|
%ul
|
2017-01-14 10:27:50 -05:00
|
|
|
|
2017-05-04 09:11:48 -04:00
|
|
|
%li.js-builds-dropdown-loading.hidden
|
2019-05-20 07:30:07 -04:00
|
|
|
.loading-container.text-center
|
|
|
|
%span.spinner{ 'aria-label': 'Loading' }
|