mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-11 02:17:42 +01:00
Updates for displaying pagination total number.
This commit is contained in:
parent
7ffd40ea57
commit
61657600b3
@ -12,3 +12,4 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</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 > this.minimum) {
|
||||||
if(this.time === 0) {
|
if(this.time === 0) {
|
||||||
ctrl.page = ctrl.displayCount;
|
ctrl.page = ctrl.displayCount;
|
||||||
}else if((ctrl.page % ctrl.displayCount) != 0) {
|
}else{
|
||||||
ctrl.page = this.time * ctrl.displayCount;
|
ctrl.page = this.time * ctrl.displayCount;
|
||||||
}
|
}
|
||||||
--this.time;
|
--this.time;
|
||||||
--ctrl.page;
|
|
||||||
}
|
}
|
||||||
scope.$apply();
|
scope.$apply();
|
||||||
};
|
};
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-4 col-md-12 well well-sm well-custom">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -96,6 +96,7 @@ var locale_messages = {
|
|||||||
'save': 'Save',
|
'save': 'Save',
|
||||||
'cancel': 'Cancel',
|
'cancel': 'Cancel',
|
||||||
'confirm': 'Confirm',
|
'confirm': 'Confirm',
|
||||||
|
'total': 'Total',
|
||||||
'items': 'item(s)',
|
'items': 'item(s)',
|
||||||
'add_member': 'Add Member',
|
'add_member': 'Add Member',
|
||||||
'operation': 'Operation',
|
'operation': 'Operation',
|
||||||
|
@ -96,6 +96,7 @@ var locale_messages = {
|
|||||||
'save': '保存',
|
'save': '保存',
|
||||||
'cancel': '取消',
|
'cancel': '取消',
|
||||||
'confirm': '确认',
|
'confirm': '确认',
|
||||||
|
'total': '总计',
|
||||||
'items': '条记录',
|
'items': '条记录',
|
||||||
'add_member': '新增成员',
|
'add_member': '新增成员',
|
||||||
'operation': '操作',
|
'operation': '操作',
|
||||||
|
Loading…
Reference in New Issue
Block a user