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
f2aa9b46
Commit
f2aa9b46
authored
Feb 10, 2017
by
Eric Eastwood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix current build arrow
Fix
https://gitlab.com/gitlab-org/gitlab-ce/issues/27939
parent
b88e82ff
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 @
f2aa9b46
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 @
f2aa9b46
---
title
:
Fix current build arrow indicator
merge_request
:
author
:
spec/features/projects/builds_spec.rb
View file @
f2aa9b46
...
...
@@ -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