Sha256: a92cd9922a14c2e33d7311f6a9fff519e911aff2c54df8f45419bae94f922fbe

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

%table.repo_table{:style=>'display: none;'}
  %thead
    %th.skinny_column
      = _('Enabled?')
    %th
      = _('Repository')
  %tbody
    - repos.each do |result|
      %tr.repo{:id=>"repo_#{result[:pulp_id]}"}
        %td
          %label
            =image_tag( "katello/icons/spinner.gif", :class=>"hidden fl", :id=>"spinner_#{result[:pulp_id]}", :style=>"margin-right:1px;")
            %input.repo_enable{:id=>"input_repo_#{result[:pulp_id]}",
                               :type=>:checkbox,
                               :value=>result[:pulp_id],
                               :data => { :url => toggle_repository_product_path(scan_cdn.input[:product_id]),
                                          'content-id' => scan_cdn.input[:content_id],
                                          'pulp-id' => result[:pulp_id],
                                          :releasever => result[:substitutions][:releasever],
                                          :basearch => result[:substitutions][:basearch] },
                               :disabled => result[:promoted], :checked=>(:checked if result[:enabled])}
        %td
          #{result[:repo_name]}

Version data entries

1 entries across 1 versions & 1 rubygems

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