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
8173d157
Commit
8173d157
authored
Mar 18, 2021
by
Yogi
Committed by
Olena Horal-Koretska
Mar 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move from btn-success to btn-confirm in projects/runners directory
parent
742d0e41
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
app/views/projects/runners/_group_runners.html.haml
app/views/projects/runners/_group_runners.html.haml
+1
-1
app/views/projects/runners/_runner.html.haml
app/views/projects/runners/_runner.html.haml
+1
-1
app/views/projects/runners/_shared_runners.html.haml
app/views/projects/runners/_shared_runners.html.haml
+1
-1
changelogs/unreleased/btn-confirm-runners.yml
changelogs/unreleased/btn-confirm-runners.yml
+5
-0
No files found.
app/views/projects/runners/_group_runners.html.haml
View file @
8173d157
...
...
@@ -16,7 +16,7 @@
=
link_to
toggle_group_runners_project_runners_path
(
@project
),
class:
'btn gl-button btn-warning-secondary'
,
method: :post
do
=
_
(
'Disable group runners'
)
-
else
=
link_to
toggle_group_runners_project_runners_path
(
@project
),
class:
'btn gl-button btn-
success btn-inverted
'
,
method: :post
do
=
link_to
toggle_group_runners_project_runners_path
(
@project
),
class:
'btn gl-button btn-
confirm-secondary
'
,
method: :post
do
=
_
(
'Enable group runners'
)
=
_
(
'for this project'
)
...
...
app/views/projects/runners/_runner.html.haml
View file @
8173d157
...
...
@@ -21,7 +21,7 @@
-
if
runner
.
active?
=
link_to
_
(
'Pause'
),
pause_project_runner_path
(
@project
,
runner
),
method: :post
,
class:
'btn gl-button btn-sm btn-danger'
,
data:
{
confirm:
_
(
"Are you sure?"
)
}
-
else
=
link_to
_
(
'Resume'
),
resume_project_runner_path
(
@project
,
runner
),
method: :post
,
class:
'btn gl-button btn-
success
btn-sm'
=
link_to
_
(
'Resume'
),
resume_project_runner_path
(
@project
,
runner
),
method: :post
,
class:
'btn gl-button btn-
confirm
btn-sm'
-
if
runner
.
belongs_to_one_project?
=
link_to
_
(
'Remove runner'
),
project_runner_path
(
@project
,
runner
),
data:
{
confirm:
_
(
"Are you sure?"
)
},
method: :delete
,
class:
'btn gl-button btn-danger btn-sm'
-
else
...
...
app/views/projects/runners/_shared_runners.html.haml
View file @
8173d157
...
...
@@ -12,7 +12,7 @@
=
link_to
toggle_shared_runners_project_runners_path
(
@project
),
class:
'btn gl-button btn-warning-secondary'
,
method: :post
do
=
_
(
'Disable shared runners'
)
-
else
=
link_to
toggle_shared_runners_project_runners_path
(
@project
),
class:
'btn gl-button btn-
success
'
,
method: :post
do
=
link_to
toggle_shared_runners_project_runners_path
(
@project
),
class:
'btn gl-button btn-
confirm
'
,
method: :post
do
=
_
(
'Enable shared runners'
)
for this project
...
...
changelogs/unreleased/btn-confirm-runners.yml
0 → 100644
View file @
8173d157
---
title
:
Move from btn-success to btn-confirm in runners directory
merge_request
:
56485
author
:
Yogi (@yo)
type
:
changed
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