gitlab-org--gitlab-foss/app/views/projects/commit/_pipeline_status_group.html.haml
2016-10-11 09:42:34 -05:00

13 lines
448 B
Text

- group_status = CommitStatus.where(id: subject).status
%button.dropdown-menu-toggle{ type: 'button', data: { toggle: 'dropdown' } }
%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