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
82199c6c
Commit
82199c6c
authored
Feb 13, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '27939-fix-current-build-arrow' into 'master'
Fix current build arrow Closes #27939 See merge request !9154
parents
018a7c6a
f2aa9b46
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
app/helpers/builds_helper.rb
app/helpers/builds_helper.rb
+1
-1
changelogs/unreleased/27939-fix-current-build-arrow.yml
changelogs/unreleased/27939-fix-current-build-arrow.yml
+4
-0
spec/features/projects/builds_spec.rb
spec/features/projects/builds_spec.rb
+4
-0
No files found.
app/helpers/builds_helper.rb
View file @
82199c6c
module
BuildsHelper
def
sidebar_build_class
(
build
,
current_build
)
build_class
=
''
build_class
+=
' active'
if
build
==
current_buil
d
build_class
+=
' active'
if
build
.
id
===
current_build
.
i
d
build_class
+=
' retried'
if
build
.
retried?
build_class
end
...
...
changelogs/unreleased/27939-fix-current-build-arrow.yml
0 → 100644
View file @
82199c6c
---
title
:
Fix current build arrow indicator
merge_request
:
author
:
spec/features/projects/builds_spec.rb
View file @
82199c6c
...
...
@@ -109,6 +109,10 @@ feature 'Builds', :feature do
expect
(
page
).
to
have_content
pipeline
.
git_commit_message
expect
(
page
).
to
have_content
pipeline
.
git_author_name
end
it
'shows active build'
do
expect
(
page
).
to
have_selector
(
'.build-job.active'
)
end
end
context
"Job from other project"
do
...
...
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