summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_pipeline_status_group.html.haml
blob: 18daa2ee69375d35a571411e3a33b67626180379 (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.has-tooltip{ type: 'button', data: { toggle: 'dropdown', title: "#{name} - #{group_status}" } }
  %span.ci-status-icon
    = ci_icon_for_status(group_status)
  %span.ci-status-text
    = name
  %span.badge= subject.size
.dropdown-menu.grouped-pipeline-dropdown
  .arrow
  %ul
    - subject.each do |status|
      %li
        = render "projects/#{status.to_partial_path}_pipeline", subject: status