X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/420a7289a0b08eee091f6650c2e83166df3fbe69..5029db24fa9a5b67cdbc52cb97fc359463785dc5:/app/views/users/index.html.erb 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 %>