Sha256: 657c52fb7fb4ff0e005eaf4a6e4b3dbac3d3407b511578980d7cb45301336711
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 KB
Contents
<table class="table table-bordered table-striped table-fixed"> <tr> <th>Name</th> <th>Content</th> <th>Profile</th> <th></th> </tr> <% for policy in @policies %> <tr> <td class="ellipsis"> <%= link_to_if_authorized(policy.name.to_s, hash_for_policy_dashboard_policy_path(:id => policy.id)) %> </td> <td> <% if !policy.scap_content.nil? %> <%= link_to_if_authorized policy.scap_content.title, hash_for_edit_scap_content_path(:id => policy.scap_content) %> <% end %> </td> <td> <%= policy.scap_content_profile.nil? ? "Default" : policy.scap_content_profile.title %> </td> <td> <%= action_buttons( display_link_if_authorized(_("Show Guide"), hash_for_policy_path(:id => policy.id)), display_link_if_authorized(_("Edit"), hash_for_edit_policy_path(:id => policy.id)), display_delete_if_authorized(hash_for_policy_path(:id => policy.id), :confirm => _("Delete compliance policy %s with all the reports?") % policy.name) ) %> </td> </tr> <% end %> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman_openscap-0.6.3 | app/views/policies/_list.html.erb |
foreman_openscap-0.6.2 | app/views/policies/_list.html.erb |