2017-11-27 12:18:55 -05:00
|
|
|
- breadcrumb_title "Clusters"
|
|
|
|
- page_title "Clusters"
|
2017-11-22 14:45:49 -05:00
|
|
|
|
2017-11-27 12:18:55 -05:00
|
|
|
.clusters-container
|
2017-11-30 10:40:13 -05:00
|
|
|
- if !@clusters.empty?
|
2017-11-27 12:18:55 -05:00
|
|
|
= render "tabs"
|
|
|
|
.ci-table.js-clusters-list
|
|
|
|
.gl-responsive-table-row.table-row-header{ role: "row" }
|
|
|
|
.table-section.section-30{ role: "rowheader" }
|
|
|
|
= s_("ClusterIntegration|Cluster")
|
|
|
|
.table-section.section-30{ role: "rowheader" }
|
|
|
|
= s_("ClusterIntegration|Environment pattern")
|
|
|
|
.table-section.section-30{ role: "rowheader" }
|
|
|
|
= s_("ClusterIntegration|Project namespace")
|
|
|
|
.table-section.section-10{ role: "rowheader" }
|
|
|
|
- @clusters.each do |cluster|
|
|
|
|
= render "cluster", cluster: cluster
|
2017-11-28 08:16:44 -05:00
|
|
|
= paginate @clusters, theme: "gitlab"
|
2017-11-30 10:40:13 -05:00
|
|
|
- elsif @scope == :all
|
|
|
|
= render "empty_state"
|
|
|
|
- else
|
|
|
|
= render "tabs"
|
|
|
|
.prepend-top-20.text-center
|
|
|
|
= s_("ClusterIntegration|There are no clusters to show")
|