diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-11-06 06:57:25 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2018-11-08 13:26:04 +0300 |
commit | a90320f792f9faefa3d5198e17b94f3acec7c6a5 (patch) | |
tree | c0c9993756a2aaa859112f251101c9c10d06bae7 /app/views | |
parent | dbb2334d4aec6d56d82691406090cbcefc6a27da (diff) |
Add active and connection disabled badges to clusters
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/clusters/clusters/_cluster.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
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 |