summaryrefslogtreecommitdiff
path: root/app/views/projects/stage/_in_stage_group.html.haml
blob: 671a3ef481c7ed835bb3fe06d35ef08cf70d80fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- group_status = CommitStatus.where(id: subject).status
%button.dropdown-menu-toggle.build-content.has-tooltip{ type: 'button', data: { toggle: 'dropdown',  title: "#{name} - #{group_status}", container: 'body' } }
  %span{ class: "ci-status-icon ci-status-icon-#{group_status}" }
    = ci_icon_for_status(group_status)
  %span.ci-status-text
    = 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