Merge pull request #2848 from jramosf/patch-1

Show number of found items in pager
This commit is contained in:
Hossein Shafagh 2019-08-21 10:00:46 -07:00 committed by GitHub
commit cb966a0204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@
<button ng-repeat="count in params.settings().counts" type="button" ng-class="{'active':params.count()==count}" ng-click="params.count(count)" class="btn btn-default"> <button ng-repeat="count in params.settings().counts" type="button" ng-class="{'active':params.count()==count}" ng-click="params.count(count)" class="btn btn-default">
<span ng-bind="count"></span> <span ng-bind="count"></span>
</button> </button>
<div class="centered-cell">
<span ng-bind="params.data.total"></span>&#160;Found
</div>
</div> </div>
<div class="btn-group pull-right"> <div class="btn-group pull-right">
<span ng-repeat="page in pages" ng-switch="page.type" ng-class="{'disabled': !page.active && !page.current, 'active': page.current}"> <span ng-repeat="page in pages" ng-switch="page.type" ng-class="{'disabled': !page.active && !page.current, 'active': page.current}">