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
2011f8f1
Commit
2011f8f1
authored
Dec 13, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use manual build icon in play/stop build statuses
parent
60571506
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
app/helpers/ci_status_helper.rb
app/helpers/ci_status_helper.rb
+0
-2
lib/gitlab/ci/status/build/play.rb
lib/gitlab/ci/status/build/play.rb
+6
-2
lib/gitlab/ci/status/build/stop.rb
lib/gitlab/ci/status/build/stop.rb
+6
-2
No files found.
app/helpers/ci_status_helper.rb
View file @
2011f8f1
...
@@ -48,8 +48,6 @@ module CiStatusHelper
...
@@ -48,8 +48,6 @@ module CiStatusHelper
'icon_status_created'
'icon_status_created'
when
'skipped'
when
'skipped'
'icon_status_skipped'
'icon_status_skipped'
when
'manual'
'icon_status_manual'
else
else
'icon_status_canceled'
'icon_status_canceled'
end
end
...
...
lib/gitlab/ci/status/build/play.rb
View file @
2011f8f1
...
@@ -6,11 +6,15 @@ module Gitlab
...
@@ -6,11 +6,15 @@ module Gitlab
include
Status
::
Extended
include
Status
::
Extended
def
text
def
text
'
play
'
'
manual
'
end
end
def
label
def
label
'play'
'manual play action'
end
def
icon
'icon_status_manual'
end
end
def
has_action?
def
has_action?
...
...
lib/gitlab/ci/status/build/stop.rb
View file @
2011f8f1
...
@@ -6,11 +6,15 @@ module Gitlab
...
@@ -6,11 +6,15 @@ module Gitlab
include
Status
::
Extended
include
Status
::
Extended
def
text
def
text
'
stop
'
'
manual
'
end
end
def
label
def
label
'stop'
'manual stop action'
end
def
icon
'icon_status_manual'
end
end
def
has_action?
def
has_action?
...
...
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