]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4418 move the "Bulk change" link close to the select boxes and make it a blue...
authorJulien Lancelot <julien.lancelot@gmail.com>
Mon, 15 Jul 2013 06:33:56 +0000 (08:33 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Mon, 15 Jul 2013 06:33:56 +0000 (08:33 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb

index f7634397f99f0330fa2314868ccafb70dbfdcefd..1a1ebd9a442820618785eaaaa8ff01369781dab9 100644 (file)
             </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 %>
 
index 81a9424363b76a203ce24c8fef538f9c284b859f..f22077f1ca6c01810094d7250b73224d9d259fe7 100644 (file)
   <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>