Sha256: 6dafc2a7809c0cbc05e3c85c9c1e380b7c7b3ae3302b1c01ebf6de47a4f7c469

Contents?: true

Size: 1.01 KB

Versions: 6

Compression:

Stored size: 1.01 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"></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

6 entries across 6 versions & 1 rubygems

Version Path
foreman_openscap-0.10.2 app/views/scap_contents/_list.html.erb
foreman_openscap-0.10.1 app/views/scap_contents/_list.html.erb
foreman_openscap-0.9.3 app/views/scap_contents/_list.html.erb
foreman_openscap-0.10.0 app/views/scap_contents/_list.html.erb
foreman_openscap-0.9.2 app/views/scap_contents/_list.html.erb
foreman_openscap-0.9.1 app/views/scap_contents/_list.html.erb