]> source.dussan.org Git - sonarqube.git/commitdiff
Remove the switch button of comparison of Q profiles
authorsimonbrandhof <simon.brandhof@gmail.com>
Wed, 4 May 2011 15:44:49 +0000 (17:44 +0200)
committersimonbrandhof <simon.brandhof@gmail.com>
Wed, 4 May 2011 15:52:54 +0000 (17:52 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb
sonar-server/src/main/webapp/images/switch.png [deleted file]

index d9db7e9648c43bf7f74edcc5a77175667db9b03f..5dba13b986966878934e497ba82ed7e5f9b50cff 100644 (file)
@@ -12,9 +12,6 @@
     <%= options_for_profiles(@profiles, params[:id2].to_i) %>
   </select>
   <input type="submit" value="Compare" class="small" id="submit-compare"/>
-  <% if @profile1 && @profile2 %>
-    <a href="<%= url_for :action => 'compare', :id1 => @profile2.id, :id2 => @profile1.id -%>" id="switch" title="Switch left and right view"><%= image_tag 'switch.png' -%></a>
-  <% end %>
 </form>
 
 <% if @profile1 && @profile2 %>
diff --git a/sonar-server/src/main/webapp/images/switch.png b/sonar-server/src/main/webapp/images/switch.png
deleted file mode 100644 (file)
index 4a72a34..0000000
Binary files a/sonar-server/src/main/webapp/images/switch.png and /dev/null differ