summaryrefslogtreecommitdiff
path: root/app/views/clusters/clusters/_cluster.html.haml
blob: 04afc38a056fca4ec6b832726c6d532e347fe0da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.card
  .card-body.gl-responsive-table-row
    .table-section.section-60
      .table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster")
      .table-mobile-content
        = cluster.item_link(clusterable, html_options: { data: { qa_selector: 'cluster', qa_cluster_name: cluster.name } })
        - unless cluster.enabled?
          %span.badge.badge-danger Connection disabled
    .table-section.section-25
      .table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Environment scope")
      .table-mobile-content= cluster.environment_scope
    .table-section.section-15.text-right
      .table-mobile-header{ role: "rowheader" }
      .table-mobile-content
        %span.badge.badge-light
          = cluster.cluster_type_description