diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-07-11 15:18:12 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-07-11 15:19:42 +0600 |
commit | a404f337cdee4b90c13d01269f90b9fc31e196d4 (patch) | |
tree | 4896c474dccc0ffd36a12a9002fd4c65961cd477 /plugins/sonar-core-plugin | |
parent | 2982086f6c5fcb12f8f416436651ecbe3405d83e (diff) | |
download | sonarqube-a404f337cdee4b90c13d01269f90b9fc31e196d4.tar.gz sonarqube-a404f337cdee4b90c13d01269f90b9fc31e196d4.zip |
SONAR-5207 Treemap feedback
Diffstat (limited to 'plugins/sonar-core-plugin')
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 -%>'); |