From 862ef49b779d110ceae531cfe3cf42b6038601ff Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 31 Oct 2011 12:45:34 +0100 Subject: [PATCH] SONAR-2831 Values are not aligned in the page Components --- .../src/main/webapp/WEB-INF/app/helpers/components_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/components_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/components_helper.rb index 237e8d26e1b..8e6a9f5143d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/components_helper.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/components_helper.rb @@ -50,7 +50,7 @@ module ComponentsHelper elsif column.metric_column? measure = item_by_metric_id(measures_by_snapshot[snapshot], column.id ) measure_param = measure.value if measure - content=html_measure(measure, nil, true, nil, nil, true, false) + content = format_measure(measure) + trend_icon(measure, :empty => true) end "<#{html_node} #{"nowrap='nowrap'" if nowrap} #{"x='#{measure_param}'" if measure_param} class='right'>" + content + "" -- 2.39.5