diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-09-08 10:49:16 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-09-08 10:49:29 +0200 |
commit | 00beca012f2f4c810a3a40f95c0c6a94c6cdfdac (patch) | |
tree | e4c679f0d68310879dbbfa914e97000559af75f4 | |
parent | 32f3ad3ae36ebe7ecf44a8e8506e6b657604367c (diff) | |
download | sonarqube-00beca012f2f4c810a3a40f95c0c6a94c6cdfdac.tar.gz sonarqube-00beca012f2f4c810a3a40f95c0c6a94c6cdfdac.zip |
SONAR-2694 fix sorting of property categories when l10n name is not available
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/settings/_plugins.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_plugins.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_plugins.html.erb index 5263a9b9bf3..11fffc3c8d4 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_plugins.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_plugins.html.erb @@ -44,7 +44,7 @@ </thead> <tbody> <% - @properties_per_category.keys.sort.each do |category| + @properties_per_category.keys.sort_by{|category| message("property.category.#{category}", :default => category)}.each do |category| unless @properties_per_category[category].empty? %> <tr class="select <%= cycle('even', 'odd', :name => 'category') -%> <%= 'selected' if @category==category -%>" id="select_<%= category -%>"> |