Sha256: e5b20a1566509f35b40b4a4e950154a7a1cceccc1f4f164fc2911cbd59f705c5

Contents?: true

Size: 1.08 KB

Versions: 38

Compression:

Stored size: 1.08 KB

Contents

<table class="<%= table_css_classes('table-fixed') %>">
  <tr>
    <th class="col-md-4"><%= sort :name %></th>
    <th class="col-md-5"><%= sort :filename %></th>
    <th class="col-md-2"><%= sort :created_at %></th>
    <th class="col-md-1"><%= _('Actions') %></th>
  </tr>
  <% @tailoring_files.each do |file| %>
    <tr>
      <td class="ellipsis">
        <%= link_to_if_authorized file.name, hash_for_edit_tailoring_file_path(:id => file.id) %>
      </td>
      <td>
        <%= file.original_filename %>
      </td>
      <td>
        <%= date_time_relative_value(file.created_at.getlocal) %>
      </td>
      <td>
        <%= action_buttons(
                display_delete_if_authorized(hash_for_tailoring_file_path(:id => file.id),
                                             :data => {:confirm => _("Delete tailoring file %s?") % file.name}),
                display_link_if_authorized(_("Download"), hash_for_xml_tailoring_file_path(:id => file.id), :data => { :no_turbolink => true })
            ) %>
      </td>
    </tr>
  <% end %>
</table>

<%= will_paginate_with_info @tailoring_files %>

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
foreman_openscap-6.0.0 app/views/tailoring_files/_list.html.erb
foreman_openscap-5.2.3 app/views/tailoring_files/_list.html.erb
foreman_openscap-5.2.2 app/views/tailoring_files/_list.html.erb
foreman_openscap-5.1.1 app/views/tailoring_files/_list.html.erb
foreman_openscap-5.2.1 app/views/tailoring_files/_list.html.erb
foreman_openscap-5.2.0 app/views/tailoring_files/_list.html.erb
foreman_openscap-5.1.0 app/views/tailoring_files/_list.html.erb
foreman_openscap-5.0.0 app/views/tailoring_files/_list.html.erb
foreman_openscap-4.3.3 app/views/tailoring_files/_list.html.erb
foreman_openscap-4.3.2 app/views/tailoring_files/_list.html.erb
foreman_openscap-4.3.1 app/views/tailoring_files/_list.html.erb
foreman_openscap-4.3.0 app/views/tailoring_files/_list.html.erb
foreman_openscap-4.1.3 app/views/tailoring_files/_list.html.erb
foreman_openscap-4.0.6 app/views/tailoring_files/_list.html.erb
foreman_openscap-4.2.0 app/views/tailoring_files/_list.html.erb
foreman_openscap-4.0.5 app/views/tailoring_files/_list.html.erb
foreman_openscap-4.1.2 app/views/tailoring_files/_list.html.erb
foreman_openscap-4.1.1 app/views/tailoring_files/_list.html.erb
foreman_openscap-4.1.0 app/views/tailoring_files/_list.html.erb
foreman_openscap-4.0.4 app/views/tailoring_files/_list.html.erb