Merge pull request #2385 from FinnStutzenstein/Issue2384

Confirm multiple deletions (fixes #2384)
This commit is contained in:
Emanuel Schütze 2016-09-18 12:26:45 +02:00 committed by GitHub
commit 3bfa055aed

View File

@ -68,9 +68,10 @@
<div uib-collapse="!isDeleteMode" class="row spacer"> <div uib-collapse="!isDeleteMode" class="row spacer">
<div class="col-sm-12 text-left"> <div class="col-sm-12 text-left">
<!-- delete button --> <!-- delete button -->
<a ng-show="isDeleteMode" <a ng-show="isDeleteMode" os-perms="motions.can_manage"
os-perms="motions.can_manage" ng-click="deleteMultiple()" ng-bootbox-confirm="{{ 'Are you sure you want to delete all selected motions?' | translate }}"
class="btn btn-primary"> ng-bootbox-confirm-action="deleteMultiple()"
class="btn btn-primary">
<i class="fa fa-trash fa-lg"></i> <i class="fa fa-trash fa-lg"></i>
<translate>Delete selected motions</translate> <translate>Delete selected motions</translate>
</a> </a>