Merge pull request #2587 from FinnStutzenstein/Issue2544

Block deleting of the last group with user manage permissions
This commit is contained in:
Norman Jäckel 2016-11-08 15:04:24 +01:00 committed by GitHub
commit 8f099114bb

View File

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