Revision 0e36a8ab
Added by Ondřej Pražák about 8 years ago
app/helpers/dashboard_helper.rb | ||
---|---|---|
{:label=>_('Out of sync'), :data =>report[:out_of_sync_hosts_enabled],:color => report_color[:out_of_sync_hosts_enabled]},
|
||
{:label=>_('No report'), :data =>report[:reports_missing],:color => report_color[:reports_missing]},
|
||
{:label=>_('Notification disabled'), :data =>report[:disabled_hosts],:color => report_color[:disabled_hosts]}]
|
||
flot_pie_chart 'overview', _('Host Configuration Status'), data, options.merge(:search => "search_by_legend")
|
||
flot_pie_chart 'overview', options[:custom_title], data, options.merge(:search => "search_by_legend")
|
||
end
|
||
|
||
def render_run_distribution(hosts, options = {})
|
Also available in: Unified diff
Fixes #13662 - Host configuration chart links work when host configuration status table not present
(cherry picked from commit e7368ad2f9a50782a7bd72fc8471474f29b2418a)