Commit a90320f7 authored by Mike Greiling's avatar Mike Greiling Committed by Thong Kuah

Add active and connection disabled badges to clusters

parent dbb2334d
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
.table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster") .table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster")
.table-mobile-content .table-mobile-content
= link_to cluster.name, cluster.show_path = 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-section.section-25
.table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Environment scope") .table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Environment scope")
.table-mobile-content= cluster.environment_scope .table-mobile-content= cluster.environment_scope
......
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