Merge pull request #4436 from tuxetuxe/master

Do not show empty page size selectors in events lists
This commit is contained in:
Stan Silvert 2017-09-13 10:22:56 -04:00 committed by GitHub
commit 56e0a52197
2 changed files with 8 additions and 10 deletions

View file

@ -17,11 +17,10 @@
<tr> <tr>
<th class="kc-table-actions" colspan="5"> <th class="kc-table-actions" colspan="5">
<div class="pull-right"> <div class="pull-right">
<select data-ng-model="query.max" data-ng-click="update()" class="btn btn-default"> <select data-ng-model="query.max"
<option>5</option> data-ng-click="update()"
<option>10</option> data-ng-options="itemCount for itemCount in [5,10,50,100]"
<option>50</option> class="btn btn-default">
<option>100</option>
</select> </select>
<button class="btn btn-default" data-ng-click="filter = !filter"> <button class="btn btn-default" data-ng-click="filter = !filter">
<span class="glyphicon glyphicon-plus" data-ng-show="!filter"></span> <span class="glyphicon glyphicon-plus" data-ng-show="!filter"></span>

View file

@ -15,11 +15,10 @@
<tr> <tr>
<th class="kc-table-actions" colspan="4"> <th class="kc-table-actions" colspan="4">
<div class="pull-right"> <div class="pull-right">
<select data-ng-model="query.max" data-ng-click="update()" class="btn btn-default"> <select data-ng-model="query.max"
<option>5</option> data-ng-click="update()"
<option>10</option> data-ng-options="itemCount for itemCount in [5,10,50,100]"
<option>50</option> class="btn btn-default">
<option>100</option>
</select> </select>
<button class="btn btn-default" data-ng-click="filter = !filter"> <button class="btn btn-default" data-ng-click="filter = !filter">
<span class="glyphicon glyphicon-plus" data-ng-show="!filter"></span> <span class="glyphicon glyphicon-plus" data-ng-show="!filter"></span>