Skip to content

Commit

Permalink
Fixed alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
MaysaMacedo committed Apr 26, 2017
1 parent 8899bdc commit 02d9009
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/helpers/quadicon_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -561,11 +561,11 @@ def render_ext_management_system_quadicon(item, options)
if settings(:quadicons, db_for_quadicon)
output << flobj_img_simple("layout/base.png")
item_count = case item
when EmsPhysicalInfra then item.physical_servers.size
when EmsCloud then item.total_vms
else
item.hosts.size
end
when EmsPhysicalInfra then item.physical_servers.size
when EmsCloud then item.total_vms
else
item.hosts.size
end
output << flobj_p_simple("a72", item_count)
output << flobj_p_simple("b72", item.total_miq_templates) if item.kind_of?(EmsCloud)
output << flobj_img_simple("svg/vendor-#{h(item.image_name)}.svg", "c72")
Expand Down

0 comments on commit 02d9009

Please sign in to comment.