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-09 15:11:17 -0500 |
commit | 3b4fb0bbdc13f5b52d1a4d30128d0d2d99b97e72 (patch) | |
tree | e0df1ff97176531a24064a937852c2fdcca6e15b /app/views | |
parent | 37013c6de09b13bcee478a1eaa2bd8fb42a35f66 (diff) | |
download | gitlab-ce-3b4fb0bbdc13f5b52d1a4d30128d0d2d99b97e72.tar.gz |
Add build data to top of pipeline page
Diffstat (limited to 'app/views')
-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 540689f4a61..a52bfa0ea55 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?) |