Commit b680da0e authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '325355-update-admin-runner-alert' into 'master'

Update runner edit alert to use partial

See merge request gitlab-org/gitlab!82758
parents d60b02c8 b661d85b
...@@ -25,15 +25,12 @@ ...@@ -25,15 +25,12 @@
- if project - if project
%tr %tr
%td %td
.gl-alert.gl-alert-danger = render 'shared/global_alert',
.gl-alert-container variant: :danger,
= sprite_icon('error', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title') dismissible: false,
.gl-alert-content title: project.full_name do
.gl-alert-body .gl-alert-actions
%strong = 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'
= 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'
%table.table{ data: { testid: 'unassigned-projects' } } %table.table{ data: { testid: 'unassigned-projects' } }
%thead %thead
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment