Sha256: ea52e156416354fe150ac8f10289b54c51ae411d65fc68df5789bfb17e9d13fa
Contents?: true
Size: 493 Bytes
Versions: 73
Compression:
Stored size: 493 Bytes
Contents
module ForemanInsightsHostHelper def insights_host_overview_buttons(host) search_condition = "hostname=#{host.fqdn}" [ { button: link_to_if_authorized( _("Recommendations"), hash_for_foreman_rh_cloud_insights_cloud_path( search: search_condition, select_all: true ), title: _("Host Insights recommendations"), class: 'btn btn-default' ), priority: 1000, }, ] end end
Version data entries
73 entries across 73 versions & 1 rubygems