Sha256: 0cb2895a614c948ed5cc4cb51420c663fd186289eb25657161818046b0507366

Contents?: true

Size: 1.03 KB

Versions: 6

Compression:

Stored size: 1.03 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"></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

6 entries across 6 versions & 1 rubygems

Version Path
foreman_openscap-0.10.2 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.10.1 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.9.3 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.10.0 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.9.2 app/views/tailoring_files/_list.html.erb
foreman_openscap-0.9.1 app/views/tailoring_files/_list.html.erb