Show number of found items in pager
This commit does not involve any additional query as the data is already in API calls' responses
This commit is contained in:
parent
18f42d2349
commit
e5e395f0d9
|
@ -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">
|
||||
<span ng-bind="count"></span>
|
||||
</button>
|
||||
<div class="centered-cell">
|
||||
<span ng-bind="params.data.total"></span> Found
|
||||
</div>
|
||||
</div>
|
||||
<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}">
|
||||
|
|
Loading…
Reference in New Issue