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
b661d85b
Commit
b661d85b
authored
Mar 11, 2022
by
Alexander Turinske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update runner edit alert to use partial
- partial abstracts out common alert code Changelog: other
parent
dc860cb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
app/views/admin/runners/edit.html.haml
app/views/admin/runners/edit.html.haml
+6
-9
No files found.
app/views/admin/runners/edit.html.haml
View file @
b661d85b
...
...
@@ -25,15 +25,12 @@
-
if
project
%tr
%td
.gl-alert.gl-alert-danger
.gl-alert-container
=
sprite_icon
(
'error'
,
size:
16
,
css_class:
'gl-icon gl-alert-icon gl-alert-icon-no-title'
)
.gl-alert-content
.gl-alert-body
%strong
=
project
.
full_name
.gl-alert-actions
=
link_to
_
(
'Disable'
),
admin_namespace_project_runner_project_path
(
project
.
namespace
,
project
,
runner_project
),
method: :delete
,
class:
'btn gl-alert-action btn-confirm btn-md gl-button'
=
render
'shared/global_alert'
,
variant: :danger
,
dismissible:
false
,
title:
project
.
full_name
do
.gl-alert-actions
=
link_to
_
(
'Disable'
),
admin_namespace_project_runner_project_path
(
project
.
namespace
,
project
,
runner_project
),
method: :delete
,
class:
'btn gl-alert-action btn-confirm btn-md gl-button'
%table
.table
{
data:
{
testid:
'unassigned-projects'
}
}
%thead
...
...
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