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
4e158d6b
Commit
4e158d6b
authored
Feb 04, 2021
by
yo
Committed by
Yogi
Feb 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply new GitLab UI for buttons in pipeline page
parent
3a6c2a41
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/jobs/components/empty_state.vue
app/assets/javascripts/jobs/components/empty_state.vue
+1
-1
app/assets/javascripts/jobs/components/sidebar.vue
app/assets/javascripts/jobs/components/sidebar.vue
+3
-3
No files found.
app/assets/javascripts/jobs/components/empty_state.vue
View file @
4e158d6b
...
@@ -85,7 +85,7 @@ export default {
...
@@ -85,7 +85,7 @@ export default {
<gl-link
<gl-link
:href=
"action.path"
:href=
"action.path"
:data-method=
"action.method"
:data-method=
"action.method"
class=
"btn
btn-primary
"
class=
"btn
gl-button btn-primary gl-text-decoration-none
"
data-testid=
"job-empty-state-action"
data-testid=
"job-empty-state-action"
>
{{
action
.
button_title
}}
</gl-link
>
{{
action
.
button_title
}}
</gl-link
>
>
...
...
app/assets/javascripts/jobs/components/sidebar.vue
View file @
4e158d6b
...
@@ -46,9 +46,9 @@ export default {
...
@@ -46,9 +46,9 @@ export default {
...
mapGetters
([
'
hasForwardDeploymentFailure
'
]),
...
mapGetters
([
'
hasForwardDeploymentFailure
'
]),
...
mapState
([
'
job
'
,
'
stages
'
,
'
jobs
'
,
'
selectedStage
'
]),
...
mapState
([
'
job
'
,
'
stages
'
,
'
jobs
'
,
'
selectedStage
'
]),
retryButtonClass
()
{
retryButtonClass
()
{
let
className
=
'
btn
btn-retry
'
;
let
className
=
'
btn
gl-button btn-retry gl-text-decoration-none!
'
;
className
+=
className
+=
this
.
job
.
status
&&
this
.
job
.
recoverable
?
'
btn-
primary
'
:
'
btn-inverted-secondary
'
;
this
.
job
.
status
&&
this
.
job
.
recoverable
?
'
btn-
confirm-secondary
'
:
'
btn-default
'
;
return
className
;
return
className
;
},
},
hasArtifact
()
{
hasArtifact
()
{
...
@@ -94,7 +94,7 @@ export default {
...
@@ -94,7 +94,7 @@ export default {
<gl-link
<gl-link
v-if=
"job.cancel_path"
v-if=
"job.cancel_path"
:href=
"job.cancel_path"
:href=
"job.cancel_path"
class=
"btn btn-default"
class=
"btn btn-default
gl-text-decoration-none!
"
data-method=
"post"
data-method=
"post"
data-testid=
"cancel-button"
data-testid=
"cancel-button"
rel=
"nofollow"
rel=
"nofollow"
...
...
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