diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-08-08 16:26:33 -0500 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-08-16 15:29:00 -0500 |
commit | bdbc3d355a86bf03e7a7a00fc2d867fa043c0bdd (patch) | |
tree | bd9ea4d5fb84bccdca21a86bd864374814830b4b /app/views/projects/commit | |
parent | f7e08ad0de580e9f27ad5301542f2913c6bb2bff (diff) | |
download | gitlab-ce-bdbc3d355a86bf03e7a7a00fc2d867fa043c0bdd.tar.gz |
Add build data to top of pipeline page
Diffstat (limited to 'app/views/projects/commit')
-rw-r--r-- | app/views/projects/commit/_pipeline.html.haml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/projects/commit/_pipeline.html.haml b/app/views/projects/commit/_pipeline.html.haml index 640abdb993f..2452326fc04 100644 --- a/app/views/projects/commit/_pipeline.html.haml +++ b/app/views/projects/commit/_pipeline.html.haml @@ -1,4 +1,16 @@ .row-content-block.build-content.middle-block + .pipeline-visualization + - pipeline.statuses.stages.each do |stage| + - statuses = pipeline.statuses.where(stage: stage) + .stage-column + %strong + %a{name: stage} + - if stage + = stage.titleize + - statuses.each do |status| + %div= status.name + + .pull-right - if can?(current_user, :update_pipeline, pipeline.project) - if pipeline.builds.latest.failed.any?(&:retryable?) |