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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
c48f33c5
Commit
c48f33c5
authored
Mar 28, 2018
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move action link to build extended status illustration
parent
0969f198
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
app/views/projects/jobs/_empty_states.html.haml
app/views/projects/jobs/_empty_states.html.haml
+1
-1
lib/gitlab/ci/status/build/action.rb
lib/gitlab/ci/status/build/action.rb
+2
-0
No files found.
app/views/projects/jobs/_empty_states.html.haml
View file @
c48f33c5
...
...
@@ -6,4 +6,4 @@
illustration_size:
illustration
[
:size
],
title:
illustration
[
:title
],
content:
illustration
[
:content
],
action:
@build
.
playable?
?
link_to
(
_
(
"Trigger this manual action"
),
detailed_status
.
action_path
,
method:
detailed_status
.
action_method
,
class:
'btn btn-primary'
,
title:
_
(
"Trigger this manual action"
))
:
nil
action:
illustration
[
:action_path
]
?
link_to
(
_
(
"Trigger this manual action"
),
illustration
[
:action_path
],
method:
illustration
[
:action_method
]
,
class:
'btn btn-primary'
,
title:
_
(
"Trigger this manual action"
))
:
nil
lib/gitlab/ci/status/build/action.rb
View file @
c48f33c5
...
...
@@ -20,6 +20,8 @@ module Gitlab
size:
'svg-394'
,
title:
_
(
'This job requires a manual action'
),
content:
_
(
'This job depends on a user to trigger its process. Often they are used to deploy code to production environments'
),
action_path:
action_path
,
action_method:
action_method
}
end
...
...
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