From: Julien Lancelot Date: Thu, 18 Jul 2013 09:39:45 +0000 (+0200) Subject: Di not display bulk change when there's no issues X-Git-Tag: 3.7~63 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5507fbd0fa81481eb5976161c2e50035f711303e;p=sonarqube.git Di not display bulk change when there's no issues --- 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 %>