Sha256: 7e78b83462921c1b90128be74b6210fc99d7dfeb74790f48b8c58638e33c4d31

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

<table class="table table-bordered table-striped table-two-pane table-fixed">
  <tr>
    <th class="col-md-4">Title</th>
    <th class="col-md-4">Filename</th>
    <th class="col-md-3">Created</th>
    <th class="col-md-1"></th>
  </tr>
  <% for content in @contents %>
    <tr>
      <td class="ellipsis"><%= content.title %></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(_("Edit"), hash_for_edit_scap_content_path(:id => content.id)),
		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),
                                             :confirm => _("Delete compliance policy %s with all the reports?") % content.title)
            ) %>
      </td>
    </tr>
  <% end %>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

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