Sha256: 45450817db70d820f69e2ed735a695465588683ac2d292001b2389854a576ba8

Contents?: true

Size: 1001 Bytes

Versions: 2

Compression:

Stored size: 1001 Bytes

Contents

= javascript 'katello/widgets/filtertable', 'katello/distributors/system_products'

= render :partial => "distributor_tupane_header_nav"

= content_for :content do
  - if products.length > 0
    = render :partial => "katello/common/filter_table"
    %table.filter_table.products.ajaxScroll
      %thead
        %th
          %a#products_sort{"data-sort"=>"asc", :class=>"ascending"}
            #{_("Product")} (#{products_count})
      %tbody
        = render :partial => 'more_products', :locals => {:products => products}

    - if products.length == current_user.page_size
      %a#products_more{"data-scroll_url"=>url_for(more_products_distributor_path()), "data-page_size"=>current_user.page_size, "data-offset"=>offset, "data-products_count"=>products_count, :class=>"fl"} #{_("More...")}
      #list-spinner
        = image_tag("katello/icons/spinner.gif", :class=>"ajax_scroll")
  - else
    %p #{_("There are no products to display.")}

= render :template => "katello/layouts/tupane_layout"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
katello-2.2.2 app/views/katello/distributors/_products.html.haml
katello-1.5.0 app/views/katello/distributors/_products.html.haml