mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-16 09:01:29 +00:00

* fix idp table, settings reset warn dialog, fix i18n interceptor, i18n * fix label policy on org change * fallback * fix preview button styles * footer, login-policy null check * org create btn alignment * show error with toast * error toast
32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
HTML
<span class="title" mat-dialog-title>{{ data.titleKey | translate: data.titleParam }}</span>
|
|
<div mat-dialog-content>
|
|
<div class="icon-wrapper" *ngIf="data.icon">
|
|
<i class="icon {{ data.icon }}"></i>
|
|
</div>
|
|
<p class="desc cnsl-secondary-text">{{ data.descriptionKey | translate: data.descriptionParam }}</p>
|
|
|
|
<cnsl-info-section *ngIf="data.warnSectionKey" [type]="InfoSectionType.WARN">{{
|
|
data.warnSectionKey | translate
|
|
}}</cnsl-info-section>
|
|
<cnsl-form-field *ngIf="data.confirmation && data.confirmationKey" class="formfield">
|
|
<cnsl-label>{{ data.confirmationKey | translate: { value: data.confirmation } }}</cnsl-label>
|
|
<input cnslInput [(ngModel)]="confirm" [attr.e2e-data]="'confirm-dialog-input'" />
|
|
</cnsl-form-field>
|
|
</div>
|
|
<div mat-dialog-actions class="action">
|
|
<button *ngIf="data.cancelKey" mat-stroked-button (click)="closeDialog()">
|
|
{{ data.cancelKey | translate }}
|
|
</button>
|
|
<span class="fill-space"></span>
|
|
<button
|
|
color="warn"
|
|
[disabled]="data.confirmation && confirm !== data.confirmation"
|
|
mat-raised-button
|
|
class="ok-button"
|
|
(click)="closeDialogWithSuccess()"
|
|
[attr.e2e-data]="'confirm-dialog-button'"
|
|
>
|
|
{{ data.confirmKey | translate }}
|
|
</button>
|
|
</div>
|