gitlab-org--gitlab-foss/app/views/projects/clusters/index.html.haml
2017-11-28 23:22:13 +00:00

24 lines
964 B
Text

- breadcrumb_title "Clusters"
- page_title "Clusters"
.clusters-container
- if @clusters.empty? && (@scope.nil? || @scope == 'all')
= render "empty_state"
- elsif @clusters.empty? && (!@scope.nil? || @scope != 'all')
= render "tabs"
.prepend-top-20.text-center
= s_("ClusterIntegration|There are no clusters to show")
- else
= 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
= paginate @clusters, theme: "gitlab"