Updates for displaying pagination total number.

This commit is contained in:
kunw 2016-10-28 11:44:43 +08:00
parent 7ffd40ea57
commit 61657600b3
5 changed files with 5 additions and 3 deletions

View File

@ -12,3 +12,4 @@
</li>
</ul>
</nav>
<p class="pull-right" style="margin-right: 15%; margin-top: 5px;">// 'total' | tr // // vm.totalCount // // 'items' | tr //</p>

View File

@ -106,11 +106,10 @@
if(this.time > this.minimum) {
if(this.time === 0) {
ctrl.page = ctrl.displayCount;
}else if((ctrl.page % ctrl.displayCount) != 0) {
}else{
ctrl.page = this.time * ctrl.displayCount;
}
--this.time;
--ctrl.page;
}
scope.$apply();
};

View File

@ -55,7 +55,7 @@
</div>
</div>
<div class="col-xs-4 col-md-12 well well-sm well-custom">
<div class="col-md-offset-10">//vm.users ? vm.users.length : 0// items</div>
<div class="col-md-offset-10">//vm.users ? vm.users.length : 0// // 'items' | tr //</div>
</div>
</div>
</div>

View File

@ -96,6 +96,7 @@ var locale_messages = {
'save': 'Save',
'cancel': 'Cancel',
'confirm': 'Confirm',
'total': 'Total',
'items': 'item(s)',
'add_member': 'Add Member',
'operation': 'Operation',

View File

@ -96,6 +96,7 @@ var locale_messages = {
'save': '保存',
'cancel': '取消',
'confirm': '确认',
'total': '总计',
'items': '条记录',
'add_member': '新增成员',
'operation': '操作',