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 @@
- 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
......
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