aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-plugin
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-07-11 15:18:12 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-07-11 15:19:42 +0600
commita404f337cdee4b90c13d01269f90b9fc31e196d4 (patch)
tree4896c474dccc0ffd36a12a9002fd4c65961cd477 /plugins/sonar-core-plugin
parent2982086f6c5fcb12f8f416436651ecbe3405d83e (diff)
downloadsonarqube-a404f337cdee4b90c13d01269f90b9fc31e196d4.tar.gz
sonarqube-a404f337cdee4b90c13d01269f90b9fc31e196d4.zip
SONAR-5207 Treemap feedback
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measures/measure_filter_treemap.html.erb3
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb3
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measures/measure_filter_treemap.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measures/measure_filter_treemap.html.erb
index 36334a8e333..53911880335 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measures/measure_filter_treemap.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measures/measure_filter_treemap.html.erb
@@ -45,7 +45,8 @@
maxItems: <%= maxItems -%>,
maxItemsReachedMessage: '<%= message("widget.measure_filter_histogram.max_items_reached", :params => [maxItems]) -%>',
baseUrl: baseUrl + '/dashboard/index/',
- noData: '<%= message('no_data') -%>'
+ noData: '<%= message('no_data') -%>',
+ resource: '<%= filter.name -%>'
})
.render('#<%= containerId -%>');
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 55c2c87796a..313e13f2c0d 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
@@ -69,7 +69,8 @@
maxItems: <%= maxItems -%>,
maxItemsReachedMessage: '<%= message("widget.measure_filter_histogram.max_items_reached", :params => [maxItems]) -%>',
baseUrl: baseUrl + '/dashboard/index/',
- noData: '<%= message('no_data') -%>'
+ noData: '<%= message('no_data') -%>',
+ resource: '<%= @resource.name -%>'
})
.render('#<%= containerId -%>');