Sha256: 4d47a40032175286c8b8af030706e9d0162c77c90cde29af6ae6ee36ba9bb230

Contents?: true

Size: 1.05 KB

Versions: 12

Compression:

Stored size: 1.05 KB

Contents

<table class="<%= table_css_classes('table-fixed') %>">
  <tr>
    <th class="col-md-4"><%= _('Name')%></th>
    <th class="col-md-4"><%= _('Filename') %></th>
    <th class="col-md-3"><%= _('Created') %></th>
    <th class="col-md-1"><%= _('Actions') %></th>
  </tr>
  <% @tailoring_files.each do |file| %>
    <tr>
      <td class="ellipsis">
        <%= file.name %>
      </td>
      <td>
        <%= file.original_filename %>
      </td>
      <td>
        <%= date_time_relative_value(file.created_at.getlocal) %>
      </td>
      <td>
        <%= action_buttons(
                display_link_if_authorized(_("Edit"), hash_for_edit_tailoring_file_path(:id => file.id)),
                display_delete_if_authorized(hash_for_tailoring_file_path(:id => file.id),
                                             :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>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
foreman_openscap-0.12.3 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.11.5 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.12.2 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.12.1 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.12.0 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.11.4 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.11.3 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.11.2 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.11.1 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.11.0 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.10.4 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.10.3 app/views/tailoring_files/_list.html.erb