From a90320f792f9faefa3d5198e17b94f3acec7c6a5 Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Mon, 5 Nov 2018 21:57:25 -0600 Subject: [PATCH] Add active and connection disabled badges to clusters --- app/views/clusters/clusters/_cluster.html.haml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/clusters/clusters/_cluster.html.haml b/app/views/clusters/clusters/_cluster.html.haml index a344a2eb15b..c1007ecdc20 100644 --- a/app/views/clusters/clusters/_cluster.html.haml +++ b/app/views/clusters/clusters/_cluster.html.haml @@ -4,6 +4,10 @@ .table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster") .table-mobile-content = link_to cluster.name, cluster.show_path + - if cluster.enabled? + %span.badge.badge-info Active + - else + %span.badge.badge-danger Connection disabled .table-section.section-25 .table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Environment scope") .table-mobile-content= cluster.environment_scope