Commit bd4b1fb7 authored by Gilang Gumilar's avatar Gilang Gumilar Committed by Mark Florian

Update alert styling in runners admin

parent e1d7aca7
...@@ -39,17 +39,18 @@ ...@@ -39,17 +39,18 @@
%thead %thead
%tr %tr
%th Assigned projects %th Assigned projects
%th
- @runner.runner_projects.each do |runner_project| - @runner.runner_projects.each do |runner_project|
- project = runner_project.project - project = runner_project.project
- if project - if project
%tr.alert-info %tr
%td %td
%strong .gl-alert.gl-alert-danger
= project.full_name = sprite_icon('error', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
%td .gl-alert-body
.float-right %strong
= link_to 'Disable', admin_namespace_project_runner_project_path(project.namespace, project, runner_project), method: :delete, class: 'gl-button btn btn-danger btn-sm' = 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 %table.table.unassigned-projects
%thead %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