Display total user count correctly in user list
This commit is contained in:
parent
fc7488f28a
commit
b9deb68de1
2 changed files with 3 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
|||
: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 %>
|
||||
|
|
|
@ -1648,8 +1648,8 @@ en:
|
|||
title: Users
|
||||
heading: Users
|
||||
showing:
|
||||
one: Showing page {{page}} ({{first_item}} of {{count}})
|
||||
other: Showing page {{page}} ({{first_item}}-{{last_item}} of {{count}})
|
||||
one: Showing page {{page}} ({{first_item}} of {{items}})
|
||||
other: Showing page {{page}} ({{first_item}}-{{last_item}} of {{items}})
|
||||
summary: "{{name}} created from {{ip_address}} on {{date}}"
|
||||
confirm: Confirm Selected Users
|
||||
hide: Hide Selected Users
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue