Sha256: 171d8a7b04af023f489632ca724315f8bd509be814caf26ebf6dabf7dc2703d2

Contents?: true

Size: 1.07 KB

Versions: 38

Compression:

Stored size: 1.07 KB

Contents

<table class="<%= table_css_classes('table-two-pane table-fixed') %>">
  <tr>
    <th class="col-md-4"><%= sort :title %></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>
  <% for content in @contents %>
    <tr>
      <td class="ellipsis"><%= link_to_if_authorized content.title, hash_for_edit_scap_content_path(:id => content.id) %></td>
      <td class="ellipsis"><%= content.original_filename %></td>
      <td>
        <%= date_time_relative_value(content.created_at.getlocal) %>
      </td>
      <td>
        <%= action_buttons(
		display_link_if_authorized(_("Download"), hash_for_scap_content_path(:id => content.id), :data => { :no_turbolink => true }),
                display_delete_if_authorized(hash_for_scap_content_path(:id => content.id),
                                             :data => {:confirm => _("Delete scap content %s?") % content.title})
            ) %>
      </td>
    </tr>
  <% end %>
</table>

<%= will_paginate_with_info @contents %>

Version data entries

38 entries across 38 versions & 1 rubygems

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