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
Tatuya Kamada
gitlab-ce
Commits
87222e27
Commit
87222e27
authored
Oct 13, 2016
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show all builds in sidebar, including retried
parent
aa5aa273
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
app/assets/stylesheets/pages/builds.scss
app/assets/stylesheets/pages/builds.scss
+2
-2
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+1
-1
app/views/projects/builds/_sidebar.html.haml
app/views/projects/builds/_sidebar.html.haml
+3
-3
No files found.
app/assets/stylesheets/pages/builds.scss
View file @
87222e27
...
...
@@ -195,7 +195,7 @@
.build-job
{
position
:
relative
;
.fa-
check
{
.fa-
arrow-right
{
position
:
absolute
;
left
:
15px
;
top
:
20px
;
...
...
@@ -205,7 +205,7 @@
&
.active
{
font-weight
:
bold
;
.fa
{
.fa
-arrow-right
{
display
:
block
;
}
}
...
...
app/assets/stylesheets/pages/pipelines.scss
View file @
87222e27
...
...
@@ -114,7 +114,7 @@
.fa
{
font-size
:
12px
;
color
:
$gl-text-color
;
margin-left
:
3
px
;
margin-left
:
5
px
;
}
.commit-id
{
...
...
app/views/projects/builds/_sidebar.html.haml
View file @
87222e27
-
builds
=
@build
.
pipeline
.
builds
.
latest
.
to_a
-
builds
=
@build
.
pipeline
.
builds
.
to_a
-
statuses
=
[
"failed"
,
"pending"
,
"running"
,
"canceled"
,
"success"
,
"skipped"
]
%aside
.right-sidebar.right-sidebar-expanded.build-sidebar.js-build-sidebar
...
...
@@ -126,7 +126,7 @@
.builds-container
-
statuses
.
each
do
|
build_status
|
-
builds
.
select
{
|
build
|
build
.
status
==
build_status
}.
each
do
|
build
|
.build-job
{
class:
(
'active'
if
build
==
@build
;
'retried'
if
@
build
.
retried?
),
data:
{
stage:
build
.
stage
}}
.build-job
{
class:
(
'active'
if
build
==
@build
;
'retried'
if
build
.
retried?
),
data:
{
stage:
build
.
stage
}}
=
link_to
namespace_project_build_path
(
@project
.
namespace
,
@project
,
build
)
do
=
icon
(
'arrow-right'
)
=
ci_icon_for_status
(
build
.
status
)
...
...
@@ -135,5 +135,5 @@
=
build
.
name
-
else
=
build
.
id
-
if
@
build
.
retried?
-
if
build
.
retried?
%i
.fa.fa-refresh.has-tooltip
{
data:
{
container:
'body'
,
placement:
'bottom'
},
title:
'This build was retried'
}
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