<%= link_to_if_authorized(policy.name.to_s, hash_for_policy_dashboard_policy_path(:id => policy.id)) %>
|
<% if !policy.scap_content.nil? %>
<%= link_to_if_authorized policy.scap_content.title,
hash_for_edit_scap_content_path(:id => policy.scap_content) %>
<% end %>
|
<%= policy.scap_content_profile.nil? ? "Default" : policy.scap_content_profile.title %>
|
<%= 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)
) %>
|
<% end %>