Commits
Bruno Roemers authored 3fc44f6fc1a
55 55 | <tbody> |
56 56 | <tr *ngFor="let groupDto of (groupsDto$ | async)?.page"> |
57 57 | <td>{{groupDto.group.id}}</td> |
58 58 | <td>{{groupDto.group.name}}</td> |
59 59 | <td>{{groupDto.epersons?.totalElements + groupDto.subgroups?.totalElements}}</td> |
60 60 | <td> |
61 61 | <div class="btn-group edit-field"> |
62 62 | <ng-container [ngSwitch]="groupDto.ableToEdit"> |
63 63 | <button *ngSwitchCase="true" |
64 64 | [routerLink]="groupService.getGroupEditPageRouterLink(groupDto.group)" |
65 - | class="btn btn-outline-primary btn-sm" |
65 + | class="btn btn-outline-primary btn-sm btn-edit" |
66 66 | title="{{messagePrefix + 'table.edit.buttons.edit' | translate: {name: groupDto.group.name} }}" |
67 67 | > |
68 68 | <i class="fas fa-edit fa-fw"></i> |
69 69 | </button> |
70 70 | <button *ngSwitchCase="false" |
71 71 | [disabled]="true" |
72 - | class="btn btn-outline-primary btn-sm" |
72 + | class="btn btn-outline-primary btn-sm btn-edit" |
73 73 | placement="left" |
74 74 | [ngbTooltip]="'admin.access-control.epeople.table.edit.buttons.edit-disabled' | translate" |
75 75 | > |
76 76 | <i class="fas fa-edit fa-fw"></i> |
77 77 | </button> |
78 78 | </ng-container> |
79 79 | <button *ngIf="!groupDto.group?.permanent && groupDto.ableToDelete" |
80 80 | (click)="deleteGroup(groupDto)" class="btn btn-outline-danger btn-sm" |
81 81 | title="{{messagePrefix + 'table.edit.buttons.remove' | translate: {name: groupDto.group.name} }}"> |
82 82 | <i class="fas fa-trash-alt fa-fw"></i> |