diff options
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/profiles_controller.rb | 3 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/profiles_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/profiles_controller.rb index 308a84a491c..e580d0d152a 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/profiles_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/profiles_controller.rb @@ -56,7 +56,7 @@ class ProfilesController < ApplicationController # # - # POST /profiles/create?name=<profile name>&language=<language> + # POST /profiles/create?name=<profile name>&language=<language>&[backup=<file>] # # def create @@ -154,6 +154,7 @@ class ProfilesController < ApplicationController end + # Modal window to restore profile backup def restore_form render :partial => 'profiles/restore_form' end diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb index e9def77b129..9788893ab96 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb @@ -50,8 +50,13 @@ </li> <% end %> + <li class="<%= 'selected' if controller.controller_path=='reviews' -%>"> + <a href="<%= ApplicationController.root_context -%>/reviews/index"><%= message('reviews.page') -%></a> + </li> + <li class="<%= 'selected' if controller.controller_path=='dependencies' -%>"> - <a href="<%= ApplicationController.root_context -%>/dependencies/index"><%= message('dependencies.page') -%></a></li> + <a href="<%= ApplicationController.root_context -%>/dependencies/index"><%= message('dependencies.page') -%></a> + </li> <% controller.java_facade.getPages(Navigation::SECTION_HOME, nil, nil, nil, nil).each do |page| page_url = (page.isController() ? page.getId() : "/plugins/home/#{page.getId()}") |