aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-09-18 12:28:56 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-09-18 12:29:07 +0200
commitfd3b119dbc663156c2ef8637f6970a25f1673db4 (patch)
tree3fffed833ef9466cbd53a759034760fd8e970d3d /plugins
parent7fc5d21df324b62f22c2bb319dc93fcdaaa07c13 (diff)
downloadsonarqube-fd3b119dbc663156c2ef8637f6970a25f1673db4.tar.gz
sonarqube-fd3b119dbc663156c2ef8637f6970a25f1673db4.zip
SONAR-4621 'Removed' measure badly formatted on Rules Compliance widget
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/rules.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/rules.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/rules.html.erb
index 8409cd8fb44..f026fa46107 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/rules.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/rules.html.erb
@@ -36,7 +36,7 @@
<br/>
<span style="font-weight: bold">
<%= message('widget.rules.removed') -%>&nbsp;
- <span class="varb"><%= estimated_cleared_issues -%></span>
+ <span class="varb"><%= number_with_precision(estimated_cleared_issues, :precision => 0) -%></span>
</span>
<% end %>
<% end %>