From: Simon Brandhof Date: Mon, 10 Dec 2012 18:09:56 +0000 (+0100) Subject: SONAR-3825 remove the description from filter widget X-Git-Tag: 3.4~69 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=58a70345f43956bece6089578c993b8aafccf2b3;p=sonarqube.git SONAR-3825 remove the description from filter widget --- diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measure_filter_list.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measure_filter_list.html.erb index c92b0abdbd8..dc3fcc37f0c 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measure_filter_list.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measure_filter_list.html.erb @@ -10,7 +10,6 @@ filter.execute(self, :user => current_user) @widget_title = link_to h(filter.name), {:controller => 'measures', :action => 'filter', :id => filter.id, :display => 'list'} %> - <% if filter.description.present? %>

<%= h filter.description -%>

<% end %> <%= render :partial => "measures/display_#{filter.display.key}", :locals => {:edit_mode => false, :widget => widget, :filter => filter} %> <% end diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measure_filter_treemap.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measure_filter_treemap.html.erb index d1c59cb5ad0..9b8ac706d1e 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measure_filter_treemap.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/measure_filter_treemap.html.erb @@ -21,7 +21,6 @@ @widget_title = link_to h(filter.name), url_options %> - <% if filter.description.present? %>

<%= h filter.description -%>

<% end %> <%= render :partial => "measures/display_#{filter.display.key}", :locals => {:edit_mode => false, :widget => widget, :filter => filter} %> <% end