Merge pull request #2385 from FinnStutzenstein/Issue2384
Confirm multiple deletions (fixes #2384)
This commit is contained in:
commit
3bfa055aed
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user