Revision 2aa77d78
Added by Ori Rabin over 9 years ago
app/helpers/hosts_helper.rb | ||
---|---|---|
short = s_("OK|O")
|
||
end
|
||
content_tag(:span, short, {:rel => "twipsy", :class => "label label-light " + style, :"data-original-title" => _(label)} ) +
|
||
link_to(trunc(" #{record}"), host_path(record))
|
||
link_to(trunc_with_tooltip(" #{record}"), host_path(record))
|
||
end
|
||
|
||
def days_ago(time)
|
Also available in: Unified diff
Fixes #8963 - Rename trunc helper to trunc_with_tooltip