Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
bdbc3d35
Commit
bdbc3d35
authored
8 years ago
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add build data to top of pipeline page
parent
f7e08ad0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+6
-0
app/views/projects/commit/_pipeline.html.haml
app/views/projects/commit/_pipeline.html.haml
+12
-0
No files found.
app/assets/stylesheets/pages/pipelines.scss
View file @
bdbc3d35
...
...
@@ -229,3 +229,9 @@
box-shadow
:
none
;
}
}
// Pipeline visualization
.stage-column
{
display
:
inline-block
;
vertical-align
:
top
;
}
This diff is collapsed.
Click to expand it.
app/views/projects/commit/_pipeline.html.haml
View file @
bdbc3d35
.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?
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment