summaryrefslogtreecommitdiff
path: root/app/views/projects/clusters/index.html.haml
blob: 104e39b0e065de875e77b0f23a8ac7e54bbddd92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
- breadcrumb_title "Clusters"
- page_title "Clusters"

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