From: Simon Brandhof Date: Mon, 24 Sep 2012 20:49:26 +0000 (+0200) Subject: Restore the link "reviews" in the global sidebar X-Git-Tag: 3.3~215 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c36b917d07daa7c64331f64482e9aa586ce575cb;p=sonarqube.git Restore the link "reviews" in the global sidebar --- 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=&language= + # POST /profiles/create?name=&language=&[backup=] # # 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 @@ <% end %> +
  • + <%= message('reviews.page') -%> +
  • +
  • - <%= message('dependencies.page') -%>
  • + <%= message('dependencies.page') -%> + <% controller.java_facade.getPages(Navigation::SECTION_HOME, nil, nil, nil, nil).each do |page| page_url = (page.isController() ? page.getId() : "/plugins/home/#{page.getId()}")