% title _("Operating systems") %> <% title_actions display_link_if_authorized(_("New Operating system"), hash_for_new_operatingsystem_path) %>
<%= sort :name, :as => s_("Operatingsystem|Name") %> | <%= _("Hosts") %> | |
---|---|---|
<%= link_to_if_authorized(os_name(operatingsystem), hash_for_edit_operatingsystem_path(:id => operatingsystem.id)) %> | <%= link_to @counter[operatingsystem.id] || 0, hosts_path(:search => "os = #{operatingsystem.name}") %> | <%= display_delete_if_authorized hash_for_operatingsystem_path(:id => operatingsystem), :confirm => _("Delete %s?") % operatingsystem.fullname %> |