Sha256: 89883f85fdc2050a3ac17436fc628897c52478016238c70a5e854c4946798834

Contents?: true

Size: 947 Bytes

Versions: 7

Compression:

Stored size: 947 Bytes

Contents

<table class="table table-bordered table-striped table-two-pane">
  <tr>
    <th>Title</th>
    <th>Filename</th>
    <th>Created</th>
    <th></th>
  </tr>
  <% for content in @contents %>
    <tr>
      <td>
        <%= content.title %>
      </td>
      <td>
        <%= content.original_filename %>
      </td>
      <td>
        <%= _("%s ago") % time_ago_in_words(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)),
                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

7 entries across 7 versions & 1 rubygems

Version Path
foreman_openscap-0.6.1 app/views/scap_contents/_list.html.erb
foreman_openscap-0.6.0 app/views/scap_contents/_list.html.erb
foreman_openscap-0.5.4 app/views/scap_contents/_list.html.erb
foreman_openscap-0.5.3 app/views/scap_contents/_list.html.erb
foreman_openscap-0.5.2 app/views/scap_contents/_list.html.erb
foreman_openscap-0.5.1 app/views/scap_contents/_list.html.erb
foreman_openscap-0.5.0 app/views/scap_contents/_list.html.erb