Sha256: cd32724dab187dcc2d6c57e7f56e7a4f24209e69d68d65b29d864fc15a0637fe

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

%table.tree_table
  %thead
    %th #{_("Product")}
  %tbody
    - for product in provider.products.engineering.order(:name)
      - orphaned = orphaned_product_ids.include?(product.id)
      - if product_map[product.id]
        - contents = product_map[product.id].sort{|p1, p2| p1.content.name <=> p2.content.name}
        %tr.product{:id=>"#{tab_id}_prod_#{product.id}", :class=>cycle(nil, 'alt')}
          %td
            = "#{product.name} " +  (orphaned ? _('(Orphaned)') : '')

        %tr{:class=>"child-of-#{tab_id}_prod_#{product.id} #{current_cycle()}"}
          %td
            %table.content_table
              %thead
                %th
                  = _('Repository Set')
              %tbody
                - for product_content in contents
                  %tr.collapsed.repo_set{:id=>"repo_set_#{product_content.content.id}"}
                    %td
                      %span.expander_area{:data=>{:url => available_repositories_product_path(product.id),
                                                   'content-id'=> product_content.content.id,
                                                   :orphaned => orphaned.to_s}}
                        =image_tag( "katello/icons/spinner.gif", :class=>"hidden fl repo_set_spinner",
                            :id=>"spinner_set_#{product_content.content.id}", :style=>"margin-left:-18px;")
                        %span.expander
                        #{product_content.content.name}

                      %table{:style=>'display:none;'}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
katello-2.2.2 app/views/katello/providers/redhat/_repo_sets.haml