maestrano/mnoe-admin-panel

View on GitHub
src/app/components/mno-pagination/mno-pagination.html

Summary

Maintainability
Test Coverage
<div class="nb-items-col">
  <label translate>mnoe_admin_panel.dashboard.mno_pagination.number_of_items</label>
  <select class="items-per-page-select form-control"
    ng-model="nbItems"
    ng-change="onPageChange()"
    ng-options="i for i in nbItemsValues"
    ng-disabled="isLoading">
  </select>
</div>

<ul uib-pagination ng-model="page" ng-show="totalItems > nbItems"
  total-items="totalItems"
  items-per-page="nbItems"
  ng-change="onPageChange()"
  max-size="pagination.maxPages"
  rotate="false"
  ng-disabled="isLoading">
</ul>