Block deleting of the last group with user manage permissions (closes #2544)

This commit is contained in:
FinnStutzenstein 2016-11-04 10:04:21 +01:00
parent ef36962221
commit 4a1df35a50

View File

@ -41,6 +41,7 @@
 
<!--delete-->
<a href="" class="text-danger"
ng-if="group_danger.id != group.id"
ng-bootbox-confirm="{{ 'Are you sure you want to delete this entry?' | translate }}<br>
<b>{{ group.name | translate }}</b>"
ng-bootbox-confirm-action="delete(group)">