From 989dcbac602c44620130bcf99d8fab2e1aa7dafe Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 22 Nov 2012 18:24:40 +0100 Subject: [PATCH] SONAR-3936 update footer pagination in order to be more "google" like --- .../views/rules_configuration/index.html.erb | 4 +- .../views/utils/_tfoot_pagination.html.erb | 39 ++++++++++++++----- 2 files changed, 33 insertions(+), 10 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/index.html.erb index 8ad6dda5d6a..9d3e2e7805e 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/index.html.erb @@ -107,6 +107,9 @@ <%= message('name') -%> [<%= link_to_function(message('rules_configuration.expand'), "expand_rules()") %> / <%= link_to_function(message('rules_configuration.collapse'), "collapse_rules()") %>] + +<%= render :partial => 'utils/tfoot_pagination', :locals => {:pagination => @pagination, :colspan => 2} %> + <% if @current_rules.empty? %> <%= message('no_results') -%>. @@ -123,7 +126,6 @@ <% end %> -<%= render :partial => 'utils/tfoot_pagination', :locals => {:pagination => @pagination, :colspan => 2} %>