From 02d9009577e105b02f04e5a2b486dccf587a04e6 Mon Sep 17 00:00:00 2001 From: Maysa Macedo Date: Wed, 26 Apr 2017 20:24:39 -0300 Subject: [PATCH] Fixed alignment --- app/helpers/quadicon_helper.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/helpers/quadicon_helper.rb b/app/helpers/quadicon_helper.rb index a2228521bacf..ce8b7b653009 100644 --- a/app/helpers/quadicon_helper.rb +++ b/app/helpers/quadicon_helper.rb @@ -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")