aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-10-08 09:21:49 +0200
committerStas Vilchik <vilchiks@gmail.com>2014-10-08 09:21:56 +0200
commit7d83d63235b6aa7cbd7fdfa94448a3897de7463d (patch)
tree5e23d39ebbe4ab66042da12c573c2b6164a89ec3 /plugins
parent78c1f8b5d87cfe476c83398bfd324da35a45bc93 (diff)
downloadsonarqube-7d83d63235b6aa7cbd7fdfa94448a3897de7463d.tar.gz
sonarqube-7d83d63235b6aa7cbd7fdfa94448a3897de7463d.zip
SONAR-5702 Treemap does not correctly display colors for SQALE Rating
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb
index 76c152ec75a..4a5f9612a88 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb
@@ -33,7 +33,8 @@
metrics: {
<%= colorMetric.name -%>: {
name: '<%= colorMetric.short_name -%>',
- direction: <%= colorMetric.direction -%>
+ direction: <%= colorMetric.direction -%>,
+ type: '<%= colorMetric.val_type -%>'
},
<%= sizeMetric.name -%>: {
name: '<%= sizeMetric.short_name -%>'