diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-17 12:08:45 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-17 12:08:45 +0100 |
commit | 49e7070adfcb281938a43aceeb52cc0257601e1d (patch) | |
tree | 46a2dd6c907e8e1b030b6c576f05a8be5e4c7736 /app/views/projects/commit/_pipeline.html.haml | |
parent | ae5ec7918a7d6c13f0b4a6b1fd5a168646b39327 (diff) | |
download | gitlab-ce-49e7070adfcb281938a43aceeb52cc0257601e1d.tar.gz |
Add support for Play and Created jobs
Diffstat (limited to 'app/views/projects/commit/_pipeline.html.haml')
-rw-r--r-- | app/views/projects/commit/_pipeline.html.haml | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/app/views/projects/commit/_pipeline.html.haml b/app/views/projects/commit/_pipeline.html.haml index 44250860020..9fa54057823 100644 --- a/app/views/projects/commit/_pipeline.html.haml +++ b/app/views/projects/commit/_pipeline.html.haml @@ -30,9 +30,8 @@ .row-content-block.build-content.middle-block.pipeline-graph .pipeline-visualization %ul.stage-column-list - - pipeline.statuses.stages.each do |stage| - - statuses = pipeline.statuses.where(stage: stage) - - status = statuses.latest.status + - stages = pipeline.stages_with_latest_statuses + - stages.each do |stage, statuses| %li.stage-column .stage-name %a{name: stage} @@ -40,12 +39,9 @@ = stage.titleize .builds-container %ul - - statuses.each do |build| - %li.build - .build-content - %span{class: "ci-status-link ci-status-icon-#{status}"} - = ci_icon_for_status(status) - = link_to build.name, namespace_project_build_url(build.project.namespace, build.project, build) + - statuses.each do |status| + = render "projects/#{status.to_partial_path}_pipeline", subject: status + - if pipeline.yaml_errors.present? .bs-callout.bs-callout-danger |