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
Léo-Paul Géneau
gitlab-ce
Commits
bfe2259b
Commit
bfe2259b
authored
Aug 17, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update CSS selector and play icon
parent
4e66551a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+1
-1
app/helpers/ci_status_helper.rb
app/helpers/ci_status_helper.rb
+2
-2
app/views/projects/ci/builds/_build_pipeline.html.haml
app/views/projects/ci/builds/_build_pipeline.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/pipelines.scss
View file @
bfe2259b
...
...
@@ -298,7 +298,7 @@
width
:
150px
;
margin-bottom
:
10px
;
&
.
deplo
yable
{
&
.
pla
yable
{
background-color
:
$gray-light
;
}
...
...
app/helpers/ci_status_helper.rb
View file @
bfe2259b
...
...
@@ -39,14 +39,14 @@ module CiStatusHelper
when
'running'
'icon_status_running'
when
'play'
'play'
return
icon
(
'play fw'
)
when
'created'
'icon_status_pending'
else
'icon_status_cancel'
end
status
==
'play'
?
icon
(
icon_name
+
' fw'
)
:
custom_icon
(
icon_name
)
custom_icon
(
icon_name
)
end
def
render_commit_status
(
commit
,
tooltip_placement:
'auto left'
)
...
...
app/views/projects/ci/builds/_build_pipeline.html.haml
View file @
bfe2259b
%li
.build
{
class:
(
"
deplo
yable"
if
subject
.
playable?
&&
can?
(
current_user
,
:update_build
,
@project
))}
%li
.build
{
class:
(
"
pla
yable"
if
subject
.
playable?
&&
can?
(
current_user
,
:update_build
,
@project
))}
.build-content
-
if
subject
.
playable?
&&
can?
(
current_user
,
:update_build
,
@project
)
=
link_to
play_namespace_project_build_path
(
subject
.
project
.
namespace
,
subject
.
project
,
subject
,
return_to:
request
.
original_url
),
method: :post
,
title:
'Play'
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