Project

General

Profile

« Previous | Next » 

Revision c45a0014

Added by Ohad Levy over 12 years ago

  • ID c45a0014cee4b8a530ab25beb9a7b1eb5cd7b037

fixes #1167 - some setting values are ignored

View differences:

app/helpers/hosts_helper.rb
return nil if record.last_report.nil?
time = time_ago_in_words(record.last_report.getlocal)
report_icon(record) +
link_to_if_authorized(time, hash_for_host_report_path(:host_id => record.to_param, :id => "last", :enable_link => @last_reports[record.id]))
link_to_if_authorized(time, hash_for_host_report_path(:host_id => record.to_param, :id => "last"), :disabled => !@last_reports[record.id])
end
# method that reformat the hostname column by adding the status icons

Also available in: Unified diff