Sha256: 0e0bafec7b6983aabd1f2d7b1ce68467415a1600d64234eb104e7da9591889a0

Contents?: true

Size: 1.5 KB

Versions: 104

Compression:

Stored size: 1.5 KB

Contents

<%= form_tag("sync_management/sync", :method => :post, :remote => true, :id => 'sync_product_form') do %>
  <%= hidden_field_tag 'sync_status_url', nil, 'data-url' => sync_status_sync_management_index_path %>
  <table id="products_table">
    <thead>
      <tr>
        <th>
          <%= _("Product") %>
        </th>
        <th class="max_width">
          <%= _("Start Time") %>
        </th>
        <th class="max_width">
          <%= _("Duration") %>
        </th>
        <th>
          <%= _("Details") %>
        </th>
        <th>
          <%= _("Result") %>
        </th>
        <% if @show_org %>
          <th>
            <%= _("Organization") %>
          </th>
        <% end %>
      </tr> <!-- _products -->
    </thead>
    <tbody>
      <% if @products.length > 0 %>
        <%= render :partial=>"product", :collection=>@product_map, :as=>:prod %>
      <% else %>
        <tr>
          <td colspan="<%= @show_org ? 6 : 5 %>">
            <%= (_("There are no products or repositories enabled. Try enabling via %{custom} or %{redhat}.") %
                 {:custom => link_to(_("Custom Content Repositories"), '/products', data: {no_turbolink: true}),
                  :redhat => link_to(_("Red Hat Repositories"), '/redhat_repositories', data: {no_turbolink: true})
                 }).html_safe
             %>
          </td>
        </tr> <!--_products -->
      <% end %>
    </tbody>
  </table>

  <%= submit_tag _('Synchronize Now'), :class => 'btn btn-default fr', :id => 'sync_button' %>
<% end %>

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
katello-4.0.0.rc3 app/views/katello/sync_management/_products.html.erb
katello-3.18.2.1 app/views/katello/sync_management/_products.html.erb
katello-3.18.2 app/views/katello/sync_management/_products.html.erb
katello-4.0.0.rc2 app/views/katello/sync_management/_products.html.erb