Sha256: 2f50b3583ceb0ce4ef6497fd30a81e3a55dbe8397f157b27131da06f6578a52c

Contents?: true

Size: 950 Bytes

Versions: 7

Compression:

Stored size: 950 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(
          link_to_if_authorized(_("Edit"), hash_for_edit_scaptimony_scap_content_path(:id => content.id)),
          link_to_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

7 entries across 7 versions & 1 rubygems

Version Path
foreman_openscap-0.4.1 app/views/scaptimony_scap_contents/_list.html.erb
foreman_openscap-0.3.4 app/views/scaptimony_scap_contents/_list.html.erb
foreman_openscap-0.4.0 app/views/scaptimony_scap_contents/_list.html.erb
foreman_openscap-0.3.3 app/views/scaptimony_scap_contents/_list.html.erb
foreman_openscap-0.3.2 app/views/scaptimony_scap_contents/_list.html.erb
foreman_openscap-0.3.1 app/views/scaptimony_scap_contents/_list.html.erb
foreman_openscap-0.3.0 app/views/scaptimony_scap_contents/_list.html.erb