gitlab-org--gitlab-foss/app/views/projects/stage/_in_stage_group.html.haml

15 lines
597 B
Plaintext
Raw Normal View History

2016-09-14 13:03:45 +00:00
- group_status = CommitStatus.where(id: subject).status
2016-12-22 11:23:29 +00:00
%button.dropdown-menu-toggle.build-content.has-tooltip{ type: 'button', data: { toggle: 'dropdown', title: "#{name} - #{group_status}" } }
%span{ class: "ci-status-icon ci-status-icon-#{group_status}" }
2016-10-26 19:42:39 +00:00
= ci_icon_for_status(group_status)
2016-12-22 11:23:29 +00:00
%span.ci-status-text
2016-09-21 00:45:39 +00:00
= name
%span.dropdown-counter-badge= subject.size
%ul.dropdown-menu.big-pipeline-graph-dropdown-menu.js-grouped-pipeline-dropdown
.arrow
.scrollable-menu
- subject.each do |status|
%li
= render 'ci/status/dropdown_graph_badge', subject: status