Skip to content

Commit

Permalink
Changed to use simplified listing toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
willdoran committed May 19, 2016
1 parent 80e184d commit 7c48e16
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions server/www/templates/settings/categories/categories.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,14 @@ <h2 class="listing-item-title"><a ng-href="/settings/categories/{{category.id}}"
</div>

</div>

<listing-toolbar
delete-func="deleteCategories()"
entities="categories"
selected-set="selectedCategories"
></listing-toolbar>

<listing-toolbar entities="categories" selected-set="selectedCategories">
<button type="button" class="button-destructive" ng-disabled="!selectedCategories.length" ng-click="deleteCategories()">
<svg class="iconic">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../../img/iconic-sprite.svg#trash"></use>
</svg>
<span class="button-label hidden">nav.delete</span>
</button>
</listing-toolbar>
</div>

<pagination ng-model="currentPage" items-per-page="itemsPerPage" total-items="totalItems" ng-change="pageChanged()" max-size="5" boundary-links="false" rotate="false"></pagination>
Expand Down

0 comments on commit 7c48e16

Please sign in to comment.