Commit 671c5b2e authored by Mike Greiling's avatar Mike Greiling Committed by Thong Kuah

Render group namespaces in clusters index

parent bfec22a0
...@@ -3,6 +3,12 @@ ...@@ -3,6 +3,12 @@
.table-section.section-60 .table-section.section-60
.table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster") .table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster")
.table-mobile-content .table-mobile-content
- if cluster.group_type? && cluster.group.id != clusterable.id
- if cluster.group.ancestors.any?
= "#{cluster.group.ancestors.first.name} /"
- if cluster.group.ancestors.length > 1
= "… /".html_safe
= "#{cluster.group.name} /"
= link_to cluster.name, cluster.show_path = link_to cluster.name, cluster.show_path
- unless cluster.enabled? - unless cluster.enabled?
%span.badge.badge-danger Connection disabled %span.badge.badge-danger Connection disabled
......
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