Sha256: d7074816df9c5099ca3cc4ed0e18dabedbdb19e492d6b24d20c006423c70e86b
Contents?: true
Size: 1.03 KB
Versions: 22
Compression:
Stored size: 1.03 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> <%= _("%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), :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
22 entries across 22 versions & 1 rubygems