24 lines
1.2 KiB
Text
24 lines
1.2 KiB
Text
- breadcrumb_title "Clusters"
|
|
- page_title "Clusters"
|
|
|
|
.clusters-container
|
|
- if @clusters.empty?
|
|
= render "empty_state"
|
|
- else
|
|
.top-area.adjust
|
|
.nav-text
|
|
= s_("ClusterIntegration|Control your environments separately by adding multiple clusters to your project")
|
|
.pull-right.nav-bar-right
|
|
= link_to s_("ClusterIntegration|Add cluster"), new_project_cluster_path(@project), class: "btn btn-success disabled has-tooltip js-add-cluster", title: s_("ClusterIntegration|Multiple clusters are available in GitLab Entreprise Edition Premium and Ultimate")
|
|
.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"
|