2019-01-18 18:03:45 +01:00
|
|
|
<div class="confirmation-dialog">
|
2021-07-23 16:03:29 +02:00
|
|
|
<div class="row d-flex flex-row" *ngIf="data.icon || data.warning">
|
|
|
|
<div class="col-auto close-btn justify-content-start" *ngIf="data.icon">
|
2019-09-24 16:55:03 +02:00
|
|
|
<mat-icon color="warn">{{ data.icon }}</mat-icon>
|
|
|
|
</div>
|
2021-07-23 16:03:29 +02:00
|
|
|
<div *ngIf="data.warning" class="col justify-content-center warn-text"> <h5><strong>{{ data.warning }}</strong></h5></div>
|
2019-09-24 16:55:03 +02:00
|
|
|
<div class="col-auto close-btn justify-content-end" (click)="close()">
|
|
|
|
<mat-icon>close</mat-icon>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-07-23 16:03:29 +02:00
|
|
|
<div class="row justify-content-end mb-1" *ngIf="!data.icon && !data.warning">
|
2021-04-09 10:31:16 +02:00
|
|
|
<div class="col-auto close-btn" (click)="close()">
|
2019-09-24 16:55:03 +02:00
|
|
|
<mat-icon>close</mat-icon>
|
|
|
|
</div>
|
2019-01-18 18:03:45 +01:00
|
|
|
</div>
|
2021-04-09 10:31:16 +02:00
|
|
|
<div class="row d-flex flex-row mb-2">
|
|
|
|
<div class="col message pb-4 pl-3">{{ data.message }}</div>
|
|
|
|
</div>
|
2019-10-09 10:45:47 +02:00
|
|
|
<div *ngIf="data.privacyPolicyNames" class="row d-flex flex-col">
|
2019-11-06 15:30:15 +01:00
|
|
|
<div class="col-12 privacy-policy-names">{{ data.privacyPolicyNames }}</div>
|
2019-10-09 10:45:47 +02:00
|
|
|
<mat-checkbox [(ngModel)]="agreePrivacyPolicyNames" required class="checkbox-privacy">
|
|
|
|
{{'GENERAL.CONFIRMATION-DIALOG.ACTIONS.POLICY-AGREE' | translate}}
|
|
|
|
</mat-checkbox>
|
|
|
|
<div *ngIf="!agreePrivacyPolicyNames" class="required-policy">{{'GENERAL.CONFIRMATION-DIALOG.ACTIONS.REQUIRED' | translate}}</div>
|
|
|
|
</div>
|
2021-04-09 10:31:16 +02:00
|
|
|
<div class="row" style="justify-content: space-between;">
|
2020-11-18 09:58:26 +01:00
|
|
|
<!-- <div class="col"></div> -->
|
|
|
|
<div class="col-auto"><button mat-raised-button type="button" class="cancel-btn" (click)="cancel()">{{ data.cancelButton }}</button></div>
|
2020-11-24 18:04:37 +01:00
|
|
|
<div *ngIf="data.isDeleteConfirmation" class="col-auto"><button mat-raised-button type="button" (click)="confirm()" class="delete-btn">{{ data.confirmButton }}</button></div>
|
2020-11-18 09:58:26 +01:00
|
|
|
<div *ngIf="!data.isDeleteConfirmation && !data.privacyPolicyNames" class="col-auto"><button mat-raised-button type="button" (click)="confirm()" class="submit-btn">{{ data.confirmButton }}</button></div>
|
|
|
|
<div *ngIf="!data.isDeleteConfirmation && data.privacyPolicyNames" class="col-auto"><button mat-raised-button type="button" [disabled]="!agreePrivacyPolicyNames" (click)="confirm()" class="submiit-btn">{{ data.confirmButton }}</button></div>
|
2019-01-18 18:03:45 +01:00
|
|
|
</div>
|
|
|
|
</div>
|