Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed code to show correct Provider type image
Fixed code to show correct Provider type image in Hosts & Clusters and VMs & Templates tree on Access Control group view/edit screens.

https://bugzilla.redhat.com/show_bug.cgi?id=1225205
  • Loading branch information
h-kataria committed May 28, 2015
1 parent 7e151cb commit 25776f6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vmdb/app/controllers/application_controller/tree_support.rb
Expand Up @@ -500,11 +500,11 @@ def build_belongsto_tree(selected_ids, vat = false, save_tree_in_session = true,
ExtManagementSystem.all.each do |ems| # Go thru all of the providers
if !@rp_only || (@rp_only && ems.resource_pools.count > 0)
ems_node = {
:key => "#{ems.class.name}_#{ems.id}",
:title => ems.name,
:tooltip => "#{ui_lookup(:table=>"ems_infras")}: #{ems.name}",
:addClass => "cfme-no-cursor-node", # No cursor pointer
:icon => "ems.png"
:key => "#{ems.class.name}_#{ems.id}",
:title => ems.name,
:tooltip => "#{ui_lookup(:table => "ems_infras")}: #{ems.name}",
:addClass => "cfme-no-cursor-node", # No cursor pointer
:icon => "vendor-#{ems.image_name}.png"
}
if @vat || @rp_only
ems_node[:hideCheckbox] = true
Expand Down

0 comments on commit 25776f6

Please sign in to comment.