debian-mirror-gitlab/app/views/projects/pipelines/_stage.html.haml
2017-08-17 22:00:37 +05:30

5 lines
263 B
Text

- grouped_statuses = @stage.statuses.latest_ordered.group_by(&:status)
- HasStatus::ORDERED_STATUSES.each do |ordered_status|
- grouped_statuses.fetch(ordered_status, []).each do |status|
%li
= render 'ci/status/dropdown_graph_badge', subject: status