Browse Source

use correct tag for pagination

Davide Alberani 7 years ago
parent
commit
bb2b2fd91f
2 changed files with 8 additions and 8 deletions
  1. 4 4
      angular_app/event-tickets.html
  2. 4 4
      angular_app/tickets-list.html

+ 4 - 4
angular_app/event-tickets.html

@@ -30,9 +30,9 @@
                                 <input eventman-focus type="text" id="query-tickets" class="form-control" placeholder="{{'Name or email' | translate}}" ng-model="query" ng-model-options="{debounce: 350}">
                             </div>&nbsp;<label>&nbsp;<input type="checkbox" ng-model="registeredFilterOptions.all" /> {{'Show cancelled tickets' | translate}}</label>
                         </form>
-						<pagination ng-model="currentPage" total-items="filteredLength" items-per-page="itemsPerPage"
+						<uib-pagination ng-model="currentPage" total-items="filteredLength" items-per-page="itemsPerPage"
                                     direction-links="false" boundary-links="true" boundary-link-numbers="true" max-size="maxPaginationSize">
-                        </pagination>
+                        </uib-pagination>
                         <table class="table table-striped">
                             <thead>
                                 <tr>
@@ -74,9 +74,9 @@
                                 </tr>
                             </tbody>
                         </table>
-						<pagination ng-model="currentPage" total-items="filteredLength" items-per-page="itemsPerPage"
+						<uib-pagination ng-model="currentPage" total-items="filteredLength" items-per-page="itemsPerPage"
                                     direction-links="false" boundary-links="true" boundary-link-numbers="true" max-size="maxPaginationSize">
-                        </pagination>
+                        </uib-pagination>
                     </div>
                 </div>
             </div>

+ 4 - 4
angular_app/tickets-list.html

@@ -15,9 +15,9 @@
                 </div>
             </form>
 
-            <pagination ng-model="currentPage" total-items="filteredLength" items-per-page="itemsPerPage"
+            <uib-pagination ng-model="currentPage" total-items="filteredLength" items-per-page="itemsPerPage"
                         direction-links="false" boundary-links="true" boundary-link-numbers="true" max-size="maxPaginationSize">
-            </pagination>
+            </uib-pagination>
             <table class="table table-striped">
                 <thead>
                     <tr>
@@ -43,9 +43,9 @@
                 </tr>
                 </tbody>
             </table>
-            <pagination ng-model="currentPage" total-items="filteredLength" items-per-page="itemsPerPage"
+            <uib-pagination ng-model="currentPage" total-items="filteredLength" items-per-page="itemsPerPage"
                         direction-links="false" boundary-links="true" boundary-link-numbers="true" max-size="maxPaginationSize">
-            </pagination>
+            </uib-pagination>
         </div>
     </div>
 </div>