diff options
author | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-12-05 15:23:41 +0100 |
---|---|---|
committer | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-12-05 15:46:23 +0100 |
commit | 4245866420b4c2be925beba7ed6773b4d3f2711c (patch) | |
tree | b0fcafb623cc5b3497a14fb3ced646bcadb4003c | |
parent | 9d13c2dd629e4e99e17ef05059d6e464e8968a54 (diff) | |
download | sonarqube-4245866420b4c2be925beba7ed6773b4d3f2711c.tar.gz sonarqube-4245866420b4c2be925beba7ed6773b4d3f2711c.zip |
SONAR-3972 Add link of the last part of the Quality Profiles breadcrumb
3 files changed, 3 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/alerts_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/alerts_controller.rb index cbf41726cb6..1a6271f548f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/alerts_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/alerts_controller.rb @@ -34,7 +34,7 @@ class AlertsController < ApplicationController @profile = Profile.find(params[:id]) @alerts = @profile.alerts.sort @alert=Alert.new - add_breadcrumbs ProfilesController::ROOT_BREADCRUMB, Api::Utils.language_name(@profile.language), @profile.name + add_breadcrumbs ProfilesController::ROOT_BREADCRUMB, Api::Utils.language_name(@profile.language), {:name => @profile.name, :url => {:controller => 'rules_configuration', :action => 'index', :id => @profile.id}} end # 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 124ca9d1c13..abb7c9d3701 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 @@ -511,6 +511,6 @@ class ProfilesController < ApplicationController end def set_profile_breadcrumbs - add_breadcrumbs ROOT_BREADCRUMB, Api::Utils.language_name(@profile.language), @profile.name + add_breadcrumbs ROOT_BREADCRUMB, Api::Utils.language_name(@profile.language), {:name => @profile.name, :url => {:controller => 'rules_configuration', :action => 'index', :id => @profile.id}} end end diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb index 7b1298d66ac..b47ce54d5e6 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb @@ -39,7 +39,7 @@ class RulesConfigurationController < ApplicationController require_parameters :id @profile = Profile.find(params[:id]) - add_breadcrumbs ProfilesController::ROOT_BREADCRUMB, Api::Utils.language_name(@profile.language), @profile.name + add_breadcrumbs ProfilesController::ROOT_BREADCRUMB, Api::Utils.language_name(@profile.language), {:name => @profile.name, :url => {:controller => 'rules_configuration', :action => 'index', :id => @profile.id}} init_params() |