Project

General

Profile

« Previous | Next » 

Revision f23483a2

Added by Johannes Scheuermann over 9 years ago

fixes #9397 - Make usage of @host.operatingsystem in UnattendedController consistent

Changed all host.os to host.operatingsystem

View differences:

app/views/hosts/_list.html.erb
</td>
<td class='ellipsis'><%= name_column(host) %>
</td>
<td class="hidden-xs"><%= (icon(host.os, :size => "18x18") + trunc_with_tooltip(" #{host.os.to_label}",14)).html_safe if host.os %></td>
<td class="hidden-xs"><%= (icon(host.operatingsystem, :size => "18x18") + trunc_with_tooltip(" #{host.operatingsystem.to_label}",14)).html_safe if host.operatingsystem %></td>
<td class="hidden-xs"><%= trunc_with_tooltip(host.try(:environment), 14) %></td>
<td class="hidden-tablet hidden-xs ellipsis"><%= model_name host %></td>
<td class="hidden-tablet hidden-xs ellipsis"><%= label_with_link host.hostgroup, 26, @hostgroup_authorizer %></td>

Also available in: Unified diff