From a404f337cdee4b90c13d01269f90b9fc31e196d4 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 11 Jul 2014 15:18:12 +0600 Subject: SONAR-5207 Treemap feedback --- .../plugins/core/widgets/measures/measure_filter_treemap.html.erb | 3 ++- .../src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/sonar-core-plugin') 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 -%>'); -- cgit v1.2.3