Commit 9c9af574 authored by Mark Florian's avatar Mark Florian

Merge branch...

Merge branch '233648-replace-bootstrap-alerts-in-app/views/admin/runners/show.html.haml' into 'master'

Replace bootstrap alerts in app/views/admin/runners/show.html.haml

See merge request gitlab-org/gitlab!41378
parents 6d313255 bd4b1fb7
......@@ -39,17 +39,18 @@
%thead
%tr
%th Assigned projects
%th
- @runner.runner_projects.each do |runner_project|
- project = runner_project.project
- if project
%tr.alert-info
%tr
%td
%strong
= project.full_name
%td
.float-right
= link_to 'Disable', admin_namespace_project_runner_project_path(project.namespace, project, runner_project), method: :delete, class: 'gl-button btn btn-danger btn-sm'
.gl-alert.gl-alert-danger
= sprite_icon('error', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
.gl-alert-body
%strong
= project.full_name
.gl-alert-actions
= link_to s_('Disable'), admin_namespace_project_runner_project_path(project.namespace, project, runner_project), method: :delete, class: 'btn gl-alert-action btn-info btn-md gl-button'
%table.table.unassigned-projects
%thead
......
---
title: Replace bootstrap alerts in app/views/admin/runners/show.html.haml
merge_request: 41378
author: Gilang Gumilar
type: changed
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