summaryrefslogtreecommitdiff
path: root/app/views/projects/clusters/_tabs.html.haml
blob: c8120e806fa60f5cbcae7249acfd903a78538a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.top-area.scrolling-tabs-container.inner-page-scroll-tabs
  .fade-left= icon("angle-left")
  .fade-right= icon("angle-right")
  %ul.nav-links.scrolling-tabs
    %li{ class: ('active' if @scope == 'active') }>
      = link_to project_clusters_path(@project, scope: :active), class: "js-active-tab" do
        = s_("ClusterIntegration|Active")
        %span.badge= @active_count
    %li{ class: ('active' if @scope == 'inactive') }>
      = link_to project_clusters_path(@project, scope: :inactive), class: "js-inactive-tab" do
        = s_("ClusterIntegration|Inactive")
        %span.badge= @inactive_count
    %li{ class: ('active' if @scope.nil? || @scope == 'all') }>
      = link_to project_clusters_path(@project), class: "js-all-tab" do
        = s_("ClusterIntegration|All")
        %span.badge= @all_count