]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2831 Values are not aligned in the page Components
authorSimon Brandhof <simon.brandhof@gmail.com>
Mon, 31 Oct 2011 11:45:34 +0000 (12:45 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Mon, 31 Oct 2011 11:45:43 +0000 (12:45 +0100)
sonar-server/src/main/webapp/WEB-INF/app/helpers/components_helper.rb

index 237e8d26e1b47a5b0c60739f99b62c05c048af2a..8e6a9f5143dbb2bf59adaf280ed3c47a2b58fefb 100644 (file)
@@ -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 + "</#{html_node}>"