Sha256: 8fb7d657c80b62beabce095b33597a2b1802806e5821b037f3b268750e8e4ef1
Contents?: true
Size: 980 Bytes
Versions: 2
Compression:
Stored size: 980 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_scaptimony_scap_content_path(:id => content.id)), display_link_if_authorized(_("Download"), hash_for_scaptimony_scap_content_path(:id => content.id)), display_delete_if_authorized(hash_for_scaptimony_scap_content_path(:id => content.id), :confirm => _("Delete compliance policy %s with all the reports?") % content.title) ) %> </td> </tr> <% end %> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman_openscap-0.4.3 | app/views/scaptimony_scap_contents/_list.html.erb |
foreman_openscap-0.4.2 | app/views/scaptimony_scap_contents/_list.html.erb |