mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 23:27:57 +01:00
fix pagination
This commit is contained in:
parent
f475cbc5d8
commit
c59ad4d446
@ -159,7 +159,7 @@
|
|||||||
next-text="{{ 'pagination.next' | translate }}"
|
next-text="{{ 'pagination.next' | translate }}"
|
||||||
first-text="{{ 'pagination.first' | translate }}"
|
first-text="{{ 'pagination.first' | translate }}"
|
||||||
last-text="{{ 'pagination.last' | translate }}"
|
last-text="{{ 'pagination.last' | translate }}"
|
||||||
total-items="totalDocuments" items-per-page="limit" max-size="5" ng-model="currentPage"></ul>
|
total-items="totalDocuments" items-per-page="limit" max-size="5" ng-model="$parent.currentPage"></ul>
|
||||||
<label class="sr-only" for="pagesizeSelect">{{ 'document.page_size' | translate }}</label>
|
<label class="sr-only" for="pagesizeSelect">{{ 'document.page_size' | translate }}</label>
|
||||||
<select ng-model="limit" id="pagesizeSelect" class="form-control">
|
<select ng-model="limit" id="pagesizeSelect" class="form-control">
|
||||||
<option value="10">{{ 'document.page_size_10' | translate }}</option>
|
<option value="10">{{ 'document.page_size_10' | translate }}</option>
|
||||||
|
Loading…
Reference in New Issue
Block a user