diff options
author | Godin <mandrikov@gmail.com> | 2010-10-25 12:47:12 +0000 |
---|---|---|
committer | Godin <mandrikov@gmail.com> | 2010-10-25 12:47:12 +0000 |
commit | 4e65e4bcd7a2c3518e9188a68560feaf03f3ab09 (patch) | |
tree | fa055e67c8fa13aca4f2a3c9300546fe7c808ec3 /sonar-server | |
parent | e8383c78619c9fd37576589955bb7eb3dc3bf7c5 (diff) | |
download | sonarqube-4e65e4bcd7a2c3518e9188a68560feaf03f3ab09.tar.gz sonarqube-4e65e4bcd7a2c3518e9188a68560feaf03f3ab09.zip |
SONAR-1563: Rename domain to "updatecenter"
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/updatecenter_controller.rb (renamed from sonar-server/src/main/webapp/WEB-INF/app/controllers/plugins_controller.rb) | 2 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb | 2 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_downloads.html.erb (renamed from sonar-server/src/main/webapp/WEB-INF/app/views/plugins/_downloads.html.erb) | 0 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_status.html.erb (renamed from sonar-server/src/main/webapp/WEB-INF/app/views/plugins/_status.html.erb) | 0 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb (renamed from sonar-server/src/main/webapp/WEB-INF/app/views/plugins/available.html.erb) | 6 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb (renamed from sonar-server/src/main/webapp/WEB-INF/app/views/plugins/index.html.erb) | 0 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb (renamed from sonar-server/src/main/webapp/WEB-INF/app/views/plugins/updates.html.erb) | 4 |
7 files changed, 7 insertions, 7 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/plugins_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/updatecenter_controller.rb index ede4810febf..28c89ac0d68 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/plugins_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/updatecenter_controller.rb @@ -17,7 +17,7 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # -class PluginsController < ApplicationController +class UpdatecenterController < ApplicationController SECTION=Navigation::SECTION_CONFIGURATION before_filter :admin_required 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 e223aab7811..8a2a24bb8ff 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 @@ -74,7 +74,7 @@ <li class="<%= 'selected' if request.request_uri.include?('/settings') -%>"><a href="<%= ApplicationController.root_context -%>/settings/index">Settings</a></li> <li class="<%= 'selected' if controller.controller_path=='backup' -%>"><a href="<%= ApplicationController.root_context -%>/backup">Backup</a></li> <li class="<%= 'selected' if controller.controller_path=='system' -%>"><a href="<%= ApplicationController.root_context -%>/system">System info</a></li> - <li class="<%= 'selected' if controller.controller_path=='plugins' -%>"><a href="<%= ApplicationController.root_context -%>/plugins">Upgrades (BETA)</a></li> + <li class="<%= 'selected' if controller.controller_path=='updatecenter' -%>"><a href="<%= ApplicationController.root_context -%>/updatecenter">Upgrades (BETA)</a></li> <% end %> <% end %> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/_downloads.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_downloads.html.erb index 8f9d1e8a836..8f9d1e8a836 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/_downloads.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_downloads.html.erb diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/_status.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_status.html.erb index 01179af82e8..01179af82e8 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/_status.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_status.html.erb diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/available.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb index 4e2e0e3071b..f7cafd53e42 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/available.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb @@ -11,7 +11,7 @@ </ul> <div class="tabs-panel"> -<%= render :partial => 'plugins/downloads' %> +<%= render :partial => 'updatecenter/downloads' %> <% if @center %> <% @updates_by_category.keys.sort_by{|c| c.downcase }.each do |category| @@ -64,7 +64,7 @@ <% if plugin.getTermsConditionsUrl() %> <input type="checkbox" id="tc-<%= plugin.getKey() -%>"></input> I accept the <%= link_to 'Terms and Conditions', plugin.getTermsConditionsUrl(), :class => 'external' %> <% end %> - <form method="post" action="<%= ApplicationController.root_context -%>/plugins/install?from=available&key=<%= plugin.getKey() -%>&version=<%= update.getRelease().getVersion() -%>" style="display: inline-block"> + <form method="post" action="<%= ApplicationController.root_context -%>/updatecenter/install?from=available&key=<%= plugin.getKey() -%>&version=<%= update.getRelease().getVersion() -%>" style="display: inline-block"> <input type="submit" value="Install" onClick="return checkTermsConditions('<%= plugin.getKey() -%>')"></input> </form> @@ -85,5 +85,5 @@ </table><br/> <% end %> <% end %> -<%= render :partial => 'plugins/status', :locals => {:action => 'available' } %> +<%= render :partial => 'updatecenter/status', :locals => {:action => 'available' } %> </div>
\ No newline at end of file diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb index c3b89859719..c3b89859719 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/updates.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb index ad470b38b1a..615d92fb0af 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/updates.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb @@ -10,7 +10,7 @@ </li> </ul> <div class="tabs-panel"> -<%= render :partial => 'plugins/downloads' %> +<%= render :partial => 'updatecenter/downloads' %> <% if @center %> <table class="data width100" id="plugin-updates"> @@ -69,5 +69,5 @@ </table> <br/> <% end %> -<%= render :partial => 'plugins/status', :locals => {:action => 'updates' } %> +<%= render :partial => 'updatecenter/status', :locals => {:action => 'updates' } %> </div>
\ No newline at end of file |