summaryrefslogtreecommitdiff
path: root/app/views/clusters/clusters/_cluster.html.haml
blob: c1007ecdc20ba41926b0e581967c6b452f90f400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.card
  .card-body.gl-responsive-table-row
    .table-section.section-60
      .table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster")
      .table-mobile-content
        = link_to cluster.name, cluster.show_path
        - if cluster.enabled?
          %span.badge.badge-info Active
        - else
          %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.project_type? ? s_("ClusterIntegration|Project cluster") : s_("ClusterIntegration|Group cluster")