- 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
    = render_status_with_link('build', 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
