summaryrefslogtreecommitdiff
path: root/app/views/clusters/clusters/_cluster.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/clusters/clusters/_cluster.html.haml')
-rw-r--r--app/views/clusters/clusters/_cluster.html.haml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/clusters/clusters/_cluster.html.haml b/app/views/clusters/clusters/_cluster.html.haml
index c1007ecdc20..6fb7a9a90aa 100644
--- a/app/views/clusters/clusters/_cluster.html.haml
+++ b/app/views/clusters/clusters/_cluster.html.haml
@@ -4,9 +4,7 @@
.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
+ - unless cluster.enabled?
%span.badge.badge-danger Connection disabled
.table-section.section-25
.table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Environment scope")