aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-07-15 08:33:56 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-07-15 08:33:56 +0200
commit9aaf7a900140918107d1a052de21b00db1ceacd2 (patch)
tree5d46cba7c50b3e0160012977b05191f38ba1fd89 /sonar-server
parent06a66c7f9905c355689a0ba63a891249a1511bef (diff)
downloadsonarqube-9aaf7a900140918107d1a052de21b00db1ceacd2.tar.gz
sonarqube-9aaf7a900140918107d1a052de21b00db1ceacd2.zip
SONAR-4418 move the "Bulk change" link close to the select boxes and make it a blue link
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb5
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb7
2 files changed, 5 insertions, 7 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 f7634397f99..1a1ebd9a442 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
@@ -57,6 +57,11 @@
</td>
<td class="<%= 'first' if first -%>"><%= render :partial => 'rules_filter' -%></td>
+
+ <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>
<% first=false
end %>
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb
index 81a9424363b..f22077f1ca6 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb
@@ -22,13 +22,6 @@
<div class="source_tabs">
<ul class="tablinks">
<% first=true %>
- <% if logged_in? && @display_issues %>
- <li 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"><%= message('bulk_change') -%></a>
- </li>
- <% first=false
- end %>
<% if @snapshot.has_source && has_role?(:codeviewer, @snapshot) %>
<li class="<%= 'first' if first -%>">
<a href="<%= ApplicationController.root_context -%>/api/sources?resource=<%= @resource.key -%>&amp;format=txt"><%= message('raw') -%></a>