{{:: ts('Page Size') }}
</label>
<input id="crm-search-admin-display-limit" type="number" min="1" step="1" class="form-control" ng-model="$ctrl.display.settings.limit" ng-model-options="{updateOn: 'blur'}" ng-change="$ctrl.onChangeLimit()">
+ <div class="checkbox-inline form-control">
+ <label>
+ <input type="checkbox" ng-model="$ctrl.display.settings.pager.expose_limit" >
+ <span>{{:: ts('Adjustable Page Size') }}</span>
+ </label>
+ </div>
<div class="checkbox-inline form-control">
<label>
<input type="checkbox" ng-model="$ctrl.display.settings.pager.show_count" >
</div>
<div class="checkbox-inline form-control">
<label>
- <input type="checkbox" ng-model="$ctrl.display.settings.pager.expose_limit" >
- <span>{{:: ts('Adjustable Page Size') }}</span>
+ <input type="checkbox" ng-model="$ctrl.display.settings.pager.hide_single">
+ <span>{{:: ts('Hide Pager if One Page') }}</span>
</label>
</div>
</div>
<div class="form-inline" ng-if="$ctrl.settings.pager.show_count" ng-include="'~/crmSearchDisplay/ResultCount.html'">
</div>
</div>
- <div class="text-center crm-flex-2">
+ <div ng-if="!$ctrl.settings.pager.hide_single || ($ctrl.rowCount > $ctrl.limit)" class="text-center crm-flex-2">
<ul uib-pagination
class="pagination"
boundary-links="true"