Project

General

Profile

« Previous | Next » 

Revision 2aa77d78

Added by Ori Rabin over 9 years ago

Fixes #8963 - Rename trunc helper to trunc_with_tooltip

View differences:

app/helpers/hosts_and_hostgroups_helper.rb
def model_name(host)
name = host.try(:model)
name = host.compute_resource.name if host.compute_resource
trunc(name, 14)
trunc_with_tooltip(name, 14)
end
def accessible_hostgroups

Also available in: Unified diff