diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-11-05 21:57:25 -0600 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2018-11-08 23:26:04 +1300 |
commit | a90320f792f9faefa3d5198e17b94f3acec7c6a5 (patch) | |
tree | c0c9993756a2aaa859112f251101c9c10d06bae7 /app/views/clusters | |
parent | dbb2334d4aec6d56d82691406090cbcefc6a27da (diff) | |
download | gitlab-ce-a90320f792f9faefa3d5198e17b94f3acec7c6a5.tar.gz |
Add active and connection disabled badges to clusters
Diffstat (limited to 'app/views/clusters')
-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 |