diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-10-08 09:21:49 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-10-08 09:21:56 +0200 |
commit | 7d83d63235b6aa7cbd7fdfa94448a3897de7463d (patch) | |
tree | 5e23d39ebbe4ab66042da12c573c2b6164a89ec3 /plugins | |
parent | 78c1f8b5d87cfe476c83398bfd324da35a45bc93 (diff) | |
download | sonarqube-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.erb | 3 |
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 -%>' |