|
1 | | -<h1 mat-dialog-title>{{ "APPLICATION.CHANGE-ORGANIZATION.TITLE" | translate }}</h1> |
2 | | -<div mat-dialog-content> |
3 | | - <label class="form-label" for="userGroup">{{ |
4 | | - "APPLICATION.CHANGE-ORGANIZATION.CHOOSE-ORGANIZATION" | translate |
5 | | - }}</label> |
6 | | - <mat-select |
7 | | - id="userGroup" |
8 | | - class="form-control" |
9 | | - panelClass="overflow-x-hidden" |
10 | | - [(value)]="application.organizationId" |
11 | | - [compareWith]="compare" |
12 | | - (selectionChange)="onOrganizationChange()" |
13 | | - > |
14 | | - <mat-option *ngFor="let organization of filteredOrganizations | async" [value]="organization.id"> |
15 | | - {{ organization.name }} |
16 | | - </mat-option> |
17 | | - </mat-select> |
18 | | - <label class="form-label" for="userGroup">{{ |
19 | | - "APPLICATION.CHANGE-ORGANIZATION.CHOOSE-USER-GROUPS" | translate |
20 | | - }}</label> |
21 | | - <mat-select |
22 | | - id="userGroup" |
23 | | - class="form-control" |
24 | | - [multiple]="true" |
25 | | - panelClass="overflow-x-hidden" |
26 | | - [(value)]="application.permissionIds" |
27 | | - [compareWith]="compare" |
28 | | - > |
29 | | - <mat-option *ngFor="let permission of filteredPermissionsMulti | async" [value]="permission.id"> |
30 | | - {{ permission.name }} |
31 | | - </mat-option> |
32 | | - </mat-select> |
33 | | - <mat-hint>{{ "APPLICATION.CHANGE-ORGANIZATION.USER-GROUP-AUTO-SELECT" | translate }}</mat-hint> |
34 | | -</div> |
35 | | -<div mat-dialog-actions class="d-flex flex-row"> |
36 | | - <button (click)="onSubmit()" class="btn btn-primary"> |
37 | | - {{ "GEN.SAVE" | translate }} |
38 | | - </button> |
39 | | - <button mat-dialog-close [mat-dialog-close]="false" class="btn btn-secondary ml-2"> |
40 | | - {{ "GEN.CANCEL" | translate }} |
41 | | - </button> |
| 1 | +<div class="change-organization-dialog"> |
| 2 | + <h1 mat-dialog-title>{{ "APPLICATION.CHANGE-ORGANIZATION.TITLE" | translate }}</h1> |
| 3 | + <div mat-dialog-content> |
| 4 | + <label class="form-label" for="userGroup">{{ |
| 5 | + "APPLICATION.CHANGE-ORGANIZATION.CHOOSE-ORGANIZATION" | translate |
| 6 | + }}</label> |
| 7 | + <mat-select |
| 8 | + id="userGroup" |
| 9 | + class="form-control" |
| 10 | + panelClass="overflow-x-hidden" |
| 11 | + [(value)]="application.organizationId" |
| 12 | + [compareWith]="compare" |
| 13 | + (selectionChange)="onOrganizationChange()" |
| 14 | + > |
| 15 | + <mat-option *ngFor="let organization of filteredOrganizations | async" [value]="organization.id"> |
| 16 | + {{ organization.name }} |
| 17 | + </mat-option> |
| 18 | + </mat-select> |
| 19 | + <label class="form-label" for="userGroup">{{ |
| 20 | + "APPLICATION.CHANGE-ORGANIZATION.CHOOSE-USER-GROUPS" | translate |
| 21 | + }}</label> |
| 22 | + <mat-select |
| 23 | + id="userGroup" |
| 24 | + class="form-control" |
| 25 | + [multiple]="true" |
| 26 | + panelClass="overflow-x-hidden" |
| 27 | + [(value)]="application.permissionIds" |
| 28 | + [compareWith]="compare" |
| 29 | + > |
| 30 | + <mat-option *ngFor="let permission of filteredPermissionsMulti | async" [value]="permission.id"> |
| 31 | + {{ permission.name }} |
| 32 | + </mat-option> |
| 33 | + </mat-select> |
| 34 | + <mat-hint>{{ "APPLICATION.CHANGE-ORGANIZATION.USER-GROUP-AUTO-SELECT" | translate }}</mat-hint> |
| 35 | + </div> |
| 36 | + <div mat-dialog-actions class="d-flex flex-row"> |
| 37 | + <button (click)="onSubmit()" class="btn btn-primary"> |
| 38 | + {{ "GEN.SAVE" | translate }} |
| 39 | + </button> |
| 40 | + <button mat-dialog-close [mat-dialog-close]="false" class="btn btn-secondary ml-2"> |
| 41 | + {{ "GEN.CANCEL" | translate }} |
| 42 | + </button> |
| 43 | + </div> |
42 | 44 | </div> |
0 commit comments