From: Simon Brandhof Date: Tue, 2 Oct 2012 16:52:37 +0000 (+0200) Subject: Fix profile links X-Git-Tag: 3.3~141 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cc24a2bbd3aa86dd9c91564c5ce071e095fde61b;p=sonarqube.git Fix profile links --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb index 2ea6c613a7c..1189d89009f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb @@ -62,7 +62,7 @@ <% if !profile.default_profile? && administrator? %> - <%= link_to_action message('set_as_default'), "profiles/set_as_default?id=#{profile.id}", + <%= link_to_action message('set_as_default'), "#{ApplicationController.root_context}/profiles/set_as_default?id=#{profile.id}", :id => "activate_#{profile.key.parameterize}", :class => 'link-action', :confirm_title => message('set_as_default'), @@ -79,22 +79,22 @@ <% if administrator? %> -
+ <%= message('backup_verb') -%>
- <%= message('rename') -%> + <%= message('rename') -%> - <%= message('copy') -%> + <%= message('copy') -%> <% if profile.deletable? %> - <%= link_to_action message('delete'), "profiles/delete/#{profile.id}", + <%= link_to_action message('delete'), "#{ApplicationController.root_context}/profiles/delete/#{profile.id}", :class => 'link-action link-red', :id => "delete_#{profile.key.parameterize}", :confirm_button => message('delete'),