From 5507fbd0fa81481eb5976161c2e50035f711303e Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 18 Jul 2013 11:39:45 +0200 Subject: [PATCH] Di not display bulk change when there's no issues --- .../main/webapp/WEB-INF/app/views/resource/_options.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb index 1a1ebd9a442..dffc5f986ac 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb @@ -58,10 +58,12 @@ <%= render :partial => 'rules_filter' -%> + <% if @issue_results && @issue_results.issues && !@issue_results.issues.empty? %> <%= message('bulk_change') -%> + <% end %> <% first=false end %> -- 2.39.5