Sha256: 24c49773aa5a4ebd269dcecb456dbfaf684251c3d882c7afd587a12e9ef27082

Contents?: true

Size: 1.04 KB

Versions: 4

Compression:

Stored size: 1.04 KB

Contents

<table class="table table-bordered table-striped 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"></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

4 entries across 4 versions & 1 rubygems

Version Path
foreman_openscap-0.8.6 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.8.5 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.9.0 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.8.4 app/views/tailoring_files/_list.html.erb