aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb2
1 files changed, 2 insertions, 0 deletions
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 @@
<td class="<%= 'first' if first -%>"><%= render :partial => 'rules_filter' -%></td>
+ <% if @issue_results && @issue_results.issues && !@issue_results.issues.empty? %>
<td class="<%= 'first' if first -%>">
<a href="<%= url_for @issues_query_params.merge({:controller => 'issues', :action => 'bulk_change_form', 'componentRoots' => @resource.root ? @resource.root.key : nil}) -%>"
class="bulk-change-link open-modal link-action"><%= message('bulk_change') -%></a>
</td>
+ <% end %>
<% first=false
end %>