From dc374240036c6a03d941832c54f8274836413767 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Wed, 5 Dec 2012 15:00:17 +0100 Subject: [PATCH] SONAR-3862 Rename "entities" into "all_projects" --- .../src/main/resources/org/sonar/l10n/core.properties | 6 +++--- ...{entities_controller.rb => all_projects_controller.rb} | 2 +- .../app/views/{entities => all_projects}/index.html.erb | 8 ++++---- .../WEB-INF/app/views/layouts/_menu_projects.html.erb | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) rename sonar-server/src/main/webapp/WEB-INF/app/controllers/{entities_controller.rb => all_projects_controller.rb} (96%) rename sonar-server/src/main/webapp/WEB-INF/app/views/{entities => all_projects}/index.html.erb (89%) diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties index 1321293bbf2..5ed67de4d59 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -499,12 +499,12 @@ reviews.filtered_by.to=To date #------------------------------------------------------------------------------ # -# ENTITIES PAGE +# ALL PROJECTS PAGE # #------------------------------------------------------------------------------ -entities.cols.name=Name -entities.cols.key=Key +all-projects.cols.name=Name +all-projects.cols.key=Key #------------------------------------------------------------------------------ diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/entities_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/all_projects_controller.rb similarity index 96% rename from sonar-server/src/main/webapp/WEB-INF/app/controllers/entities_controller.rb rename to sonar-server/src/main/webapp/WEB-INF/app/controllers/all_projects_controller.rb index 21a3cb1923e..51bb0dace29 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/entities_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/all_projects_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 EntitiesController < ApplicationController +class AllProjectsController < ApplicationController SECTION=Navigation::SECTION_HOME diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/entities/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/all_projects/index.html.erb similarity index 89% rename from sonar-server/src/main/webapp/WEB-INF/app/views/entities/index.html.erb rename to sonar-server/src/main/webapp/WEB-INF/app/views/all_projects/index.html.erb index 82fb5fdf257..a13cf47b8e4 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/entities/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/all_projects/index.html.erb @@ -20,7 +20,7 @@

<%= message('qualifiers.all.' + @qualifier) -%>


-
+
<% if @filter.security_exclusions %>

<%= message('results_not_display_due_to_security') -%>

@@ -32,21 +32,21 @@ colspan += 1 if display_favourites %> - +
<% if display_favourites %> <% end %>
- <%= link_to_function( message('entities.cols.name'), "reloadParameters({asc:'#{(!@filter.sort_asc?).to_s}', sort:'name'})") -%> + <%= link_to_function( message('all-projects.cols.name'), "reloadParameters({asc:'#{(!@filter.sort_asc?).to_s}', sort:'name'})") -%> <% if @filter.sort_key=='name' %> <%= @filter.sort_asc? ? image_tag("asc12.png") : image_tag("desc12.png") -%> <% end %> - <%= link_to_function( message('entities.cols.key'), "reloadParameters({asc:'#{(!@filter.sort_asc?).to_s}', sort:'key'})") -%> + <%= link_to_function( message('all-projects.cols.key'), "reloadParameters({asc:'#{(!@filter.sort_asc?).to_s}', sort:'key'})") -%> <% if @filter.sort_key=='key' %> <%= @filter.sort_asc? ? image_tag("asc12.png") : image_tag("desc12.png") -%> <% end %> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_projects.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_projects.html.erb index 30107900edc..2a9604974e9 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_projects.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_projects.html.erb @@ -17,7 +17,7 @@
-- 2.39.5