]> source.dussan.org Git - sonarqube.git/commitdiff
UI layout : inverse Settings and User dropdowns
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 11 Dec 2012 09:30:00 +0000 (10:30 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 11 Dec 2012 09:30:00 +0000 (10:30 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb

index baa087c687bed4f9689b5efd4fd853aab1236ea5..8afb945d4f81029aee8ccf08d76014ee673323cc 100644 (file)
           <input type="text" size="15" name="search" id="searchInput" onFocus="autocompleteResources()" value="<%= message('search_verb') -%>"/>
           <img src="<%= ApplicationController.root_context -%>/images/loading-small.gif" id="searchingResources" style="display:none">
         </li>
-        <%= render 'layouts/menu_administration' -%>
         <% if logged_in? %>
           <%= render 'layouts/menu_user' -%>
         <% else %>
           <li><a href="<%= ApplicationController.root_context -%>/sessions/new?return_to=<%= u (request.request_uri) -%>"><%= message('layout.login') -%></a></li>
         <% end %>
+        <%= render 'layouts/menu_administration' -%>
       </ul>
     </div>
     <div id="searchResourcesResults" class="autocomplete" style="display:none"></div>