diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-09-10 17:53:17 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-09-10 17:53:17 +0200 |
commit | 9cd8404bf12a43f3083d39c0db66021effa02530 (patch) | |
tree | 24cd6883dc3e69b1933dccc155c53c9560ddf599 | |
parent | 597436c5d4b9c713737f6d296b98e0770159ebfb (diff) | |
download | sonarqube-9cd8404bf12a43f3083d39c0db66021effa02530.tar.gz sonarqube-9cd8404bf12a43f3083d39c0db66021effa02530.zip |
fix SONAR-6708 TreeMap Widget: colors of squares are not matching SQALE rating while drilling down on sub-components
-rw-r--r-- | server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/treemap.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/treemap.html.erb b/server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/treemap.html.erb index f6a1fbc2b6b..39ba4bd4302 100644 --- a/server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/treemap.html.erb +++ b/server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/treemap.html.erb @@ -54,8 +54,8 @@ longName: '<%= escape_javascript row.resource.long_name -%>', qualifier: '<%= escape_javascript row.resource.qualifier -%>', measures: { - <%= colorMetric.name -%>: { val: <%= color ? color.value : "null" -%>, fval: '<%= color ? color.formatted_value : "-" -%>' }, - <%= sizeMetric.name -%>: { val: <%= size ? size.value : "null" -%>, fval: '<%= size ? size.formatted_value : "-" -%>' } + <%= colorMetric.name -%>: { val: <%= color ? color.value : "null" -%>, fval: '<%= color ? color.formatted_value : "-" -%>', data: '<%= color ? color.formatted_value : "-" -%>' }, + <%= sizeMetric.name -%>: { val: <%= size ? size.value : "null" -%>, fval: '<%= size ? size.formatted_value : "-" -%>', data: '<%= size ? size.formatted_value : "-" -%>' } } }, <% end %> |