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
a604a6af
Commit
a604a6af
authored
Jan 22, 2021
by
Alexander Turinske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant btn-close classes
parent
9a8711e5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/projects/runners/_group_runners.html.haml
app/views/projects/runners/_group_runners.html.haml
+1
-1
app/views/projects/runners/_shared_runners.html.haml
app/views/projects/runners/_shared_runners.html.haml
+1
-1
No files found.
app/views/projects/runners/_group_runners.html.haml
View file @
a604a6af
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
%br
%br
%br
%br
-
if
@project
.
group_runners_enabled?
-
if
@project
.
group_runners_enabled?
=
link_to
toggle_group_runners_project_runners_path
(
@project
),
class:
'btn gl-button btn-warning-secondary
btn-close
'
,
method: :post
do
=
link_to
toggle_group_runners_project_runners_path
(
@project
),
class:
'btn gl-button btn-warning-secondary'
,
method: :post
do
=
_
(
'Disable group runners'
)
=
_
(
'Disable group runners'
)
-
else
-
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-success btn-inverted'
,
method: :post
do
...
...
app/views/projects/runners/_shared_runners.html.haml
View file @
a604a6af
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
=
_
(
'Shared runners disabled on group level'
)
=
_
(
'Shared runners disabled on group level'
)
-
else
-
else
-
if
@project
.
shared_runners_enabled?
-
if
@project
.
shared_runners_enabled?
=
link_to
toggle_shared_runners_project_runners_path
(
@project
),
class:
'btn gl-button btn-warning-secondary
btn-close
'
,
method: :post
do
=
link_to
toggle_shared_runners_project_runners_path
(
@project
),
class:
'btn gl-button btn-warning-secondary'
,
method: :post
do
=
_
(
'Disable shared runners'
)
=
_
(
'Disable shared runners'
)
-
else
-
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-success'
,
method: :post
do
...
...
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