summaryrefslogtreecommitdiff
path: root/app/views/projects/stage/_in_stage_group.html.haml
blob: b15f7eaeab2f36e4a6180f3086df6daf12949f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- group_status = CommitStatus.where(id: subject).status
%button.dropdown-menu-toggle.build-content.has-tooltip{ type: 'button', data: { toggle: 'dropdown'} }
  %span{class: "ci-status-icon ci-status-icon-#{group_status}"}
    = ci_icon_for_status(group_status)
  %span.ci-status-text{ 'data-toggle' => 'tooltip', 'data-title' => "#{name} - #{group_status}" }
    = name
  %span.dropdown-counter-badge= subject.size
.dropdown-menu.grouped-pipeline-dropdown
  .arrow
  %ul
    - subject.each do |status|
      %li.dropdown-build
        = render 'ci/status/graph_badge', subject: status