diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-08-27 18:34:58 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-08-27 18:34:58 +0200 |
commit | c1dd2e176da201a00e15da6ea80f0394da039f58 (patch) | |
tree | 6f4ea037967852cf8f2f4de63968b3e04654ea46 /server | |
parent | 217816b5c5fbfe2dc3cf0bb76889619f2e0cb8d3 (diff) | |
download | sonarqube-c1dd2e176da201a00e15da6ea80f0394da039f58.tar.gz sonarqube-c1dd2e176da201a00e15da6ea80f0394da039f58.zip |
Revert "fix SONAR-6203 Manual Metrics of type Level and Text can't be displayed using 'Custom Measures' widget"
This reverts commit bc14bd9bdfa9c983a0dc21d6e2b2d0d9a3f487cd.
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb index a096f806bfa..4fc10646ce1 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb @@ -277,7 +277,7 @@ module ApplicationHelper if options[:period] html=m.format_numeric_value(m.variation(options[:period].to_i)) elsif m.metric.val_type==Metric::VALUE_TYPE_LEVEL - html=message("level.#{m.formatted_value}") + html="<i class=\"icon-alert-#{m.alert_status.downcase}\"></i>" unless m.alert_status.blank? else html=m.formatted_value end |