BigW Consortium Gitlab

Commit 3b4fb0bb by Annabel Dunstone

Add build data to top of pipeline page

parent 37013c6d
......@@ -229,3 +229,9 @@
box-shadow: none;
}
}
// Pipeline visualization
.stage-column {
display: inline-block;
vertical-align: top;
}
.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?)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment