]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3549 From the dependencies page, when selecting a library whose source code...
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 9 Oct 2012 20:52:45 +0000 (22:52 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 9 Oct 2012 20:52:45 +0000 (22:52 +0200)
sonar-server/src/main/webapp/WEB-INF/app/controllers/application_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb

index e125aaefe2d58b0d5f495b967e34040c55710b8b..fa0dc0a07a53f406437914758af109cff57e95ee 100644 (file)
@@ -40,7 +40,7 @@ class ApplicationController < ActionController::Base
   end
 
   def java_facade
-    Java::OrgSonarServerUi::JRubyFacade.getInstance()
+    Api::Utils.java_facade
   end
 
   def available_locales
index b0b0dbf3012a9df191b9dd636cb206fffc1ea348..19ba632075d55e80b508b46740b27fc34f9517cf 100644 (file)
@@ -38,7 +38,7 @@
   </div>
   <div id="searchResourcesResults" class="autocomplete" style="display:none"></div>
 </div>
-<%= render 'layouts/breadcrumb' -%>
+<%= render 'layouts/breadcrumb' if selected_section==Navigation::SECTION_RESOURCE-%>
 <div id="body">
   <div id="sb">
     <div id="sidebar">