X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa9e9a5eb1a66c04a377f7f9f590f1c2e5e6592e..5029db24fa9a5b67cdbc52cb97fc359463785dc5:/app/views/users/index.html.erb?ds=inline diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 960cf1128..deb0eab4c 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -17,12 +17,11 @@ <%= t '.showing', - :page => @user_pages.current_page.number, - :first_item => @user_pages.current_page.first_item, - :last_item => @user_pages.current_page.last_item, - :items => @user_pages.item_count, - :count => @user_pages.current_page.last_item - @user_pages.current_page.first_item + 1 - %> + :page => @user_pages.current_page.number, + :first_item => @user_pages.current_page.first_item, + :last_item => @user_pages.current_page.last_item, + :items => @user_pages.item_count, + :count => @user_pages.current_page.last_item - @user_pages.current_page.first_item + 1 %> <% if @user_pages.page_count > 1 %> | <%= raw pagination_links_each(@user_pages, {}) { |n| link_to n, @params.merge(:page => n) } %> <% end %>