Add active and connection disabled badges to clusters

This commit is contained in:
Mike Greiling 2018-11-05 21:57:25 -06:00 committed by Thong Kuah
parent dbb2334d4a
commit a90320f792

View file

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