diff options
author | Simon Brandhof <SimonBrandhof@imac2-sonarsource.local> | 2011-01-11 12:03:28 +0100 |
---|---|---|
committer | Simon Brandhof <SimonBrandhof@imac2-sonarsource.local> | 2011-01-11 12:03:28 +0100 |
commit | a6bb456a91bd000879e51db26b78eb7eeee7ac52 (patch) | |
tree | c204c9da93d374464d265152041d00502887925f /sonar-server/src | |
parent | 2bb6d6aacb53cd667339e2cfacf115967cbd519c (diff) | |
download | sonarqube-a6bb456a91bd000879e51db26b78eb7eeee7ac52.tar.gz sonarqube-a6bb456a91bd000879e51db26b78eb7eeee7ac52.zip |
merge 2.5-RC2: fix alignment of trend icons in the components page
Diffstat (limited to 'sonar-server/src')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb index feff2e8e1ea..294710f5458 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb @@ -58,7 +58,7 @@ module ApplicationHelper # deprecated since 2.5. Use trend_icon() instead def tendency_icon(metric_or_measure, small=true, no_tendency_img=true) - return trend_icon(metric_or_measure, {:big => !small}) + return trend_icon(metric_or_measure, {:big => !small, :empty => !no_tendency_img}) end def boolean_icon(boolean_value, options={}) |