debian-mirror-gitlab/app/views/shared/_mini_pipeline_graph.html.haml

18 lines
961 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
.stage-cell
2017-09-10 17:25:29 +05:30
- pipeline.legacy_stages.each do |stage|
2017-08-17 22:00:37 +05:30
- if stage.status
- detailed_status = stage.detailed_status(current_user)
- icon_status = "#{detailed_status.icon}_borderless"
2019-07-31 22:56:46 +05:30
.stage-container.mt-0.ml-1.dropdown{ class: klass }
2018-10-15 14:42:47 +05:30
%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) } }
2018-03-17 18:26:18 +05:30
= sprite_icon(icon_status)
2017-08-17 22:00:37 +05:30
%ul.dropdown-menu.mini-pipeline-graph-dropdown-menu.js-builds-dropdown-container
%li.js-builds-dropdown-list.scrollable-menu
2018-10-15 14:42:47 +05:30
%ul
2017-08-17 22:00:37 +05:30
%li.js-builds-dropdown-loading.hidden
2019-09-04 21:01:54 +05:30
.loading-container.text-center
2020-05-24 23:13:21 +05:30
%span.spinner{ 'aria-label': _('Loading') }