Sha256: 6c4fd4646c439539e450bac87fdcce1bac97295defcdf23a2c3e8e4f871b10db
Contents?: true
Size: 1.03 KB
Versions: 12
Compression:
Stored size: 1.03 KB
Contents
<table class="<%= table_css_classes('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"><%= _('Actions') %></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
12 entries across 12 versions & 1 rubygems