mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 09:08:26 +01:00
Updates for displaying pagination total number.
This commit is contained in:
parent
7ffd40ea57
commit
61657600b3
@ -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>
|
@ -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();
|
||||
};
|
||||
|
@ -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>
|
||||
|
@ -96,6 +96,7 @@ var locale_messages = {
|
||||
'save': 'Save',
|
||||
'cancel': 'Cancel',
|
||||
'confirm': 'Confirm',
|
||||
'total': 'Total',
|
||||
'items': 'item(s)',
|
||||
'add_member': 'Add Member',
|
||||
'operation': 'Operation',
|
||||
|
@ -96,6 +96,7 @@ var locale_messages = {
|
||||
'save': '保存',
|
||||
'cancel': '取消',
|
||||
'confirm': '确认',
|
||||
'total': '总计',
|
||||
'items': '条记录',
|
||||
'add_member': '新增成员',
|
||||
'operation': '操作',
|
||||
|
Loading…
Reference in New Issue
Block a user