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
38ac2b7c
Commit
38ac2b7c
authored
Aug 20, 2020
by
Matej Latin
Committed by
Olena Horal-Koretska
Aug 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace the pipelines nav controls buttons
parent
e78a4382
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
app/assets/javascripts/pipelines/components/pipelines_list/nav_controls.vue
...ipts/pipelines/components/pipelines_list/nav_controls.vue
+7
-6
No files found.
app/assets/javascripts/pipelines/components/pipelines_list/nav_controls.vue
View file @
38ac2b7c
<
script
>
<
script
>
import
{
Gl
Deprecated
Button
}
from
'
@gitlab/ui
'
;
import
{
GlButton
}
from
'
@gitlab/ui
'
;
import
LoadingButton
from
'
~/vue_shared/components/loading_button.vue
'
;
import
LoadingButton
from
'
~/vue_shared/components/loading_button.vue
'
;
export
default
{
export
default
{
name
:
'
PipelineNavControls
'
,
name
:
'
PipelineNavControls
'
,
components
:
{
components
:
{
LoadingButton
,
LoadingButton
,
Gl
Deprecated
Button
,
GlButton
,
},
},
props
:
{
props
:
{
newPipelinePath
:
{
newPipelinePath
:
{
...
@@ -42,14 +42,15 @@ export default {
...
@@ -42,14 +42,15 @@ export default {
</
script
>
</
script
>
<
template
>
<
template
>
<div
class=
"nav-controls"
>
<div
class=
"nav-controls"
>
<gl-
deprecated-
button
<gl-button
v-if=
"newPipelinePath"
v-if=
"newPipelinePath"
:href=
"newPipelinePath"
:href=
"newPipelinePath"
variant=
"success"
variant=
"success"
category=
"primary"
class=
"js-run-pipeline"
class=
"js-run-pipeline"
>
>
{{
s__
(
'
Pipelines|Run Pipeline
'
)
}}
{{
s__
(
'
Pipelines|Run Pipeline
'
)
}}
</gl-
deprecated-
button>
</gl-button>
<loading-button
<loading-button
v-if=
"resetCachePath"
v-if=
"resetCachePath"
...
@@ -59,8 +60,8 @@ export default {
...
@@ -59,8 +60,8 @@ export default {
@
click=
"onClickResetCache"
@
click=
"onClickResetCache"
/>
/>
<gl-
deprecated-
button
v-if=
"ciLintPath"
:href=
"ciLintPath"
class=
"js-ci-lint"
>
<gl-button
v-if=
"ciLintPath"
:href=
"ciLintPath"
class=
"js-ci-lint"
>
{{
s__
(
'
Pipelines|CI Lint
'
)
}}
{{
s__
(
'
Pipelines|CI Lint
'
)
}}
</gl-
deprecated-
button>
</gl-button>
</div>
</div>
</
template
>
</
template
>
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