mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-17 02:55:11 +00:00
fix(console): Auth method dialog title, layout issues (#4216)
* fix(console): app auth method dialog title * lint
This commit is contained in:
@@ -1,17 +1,19 @@
|
||||
<span class="title" mat-dialog-title>{{'USER.MACHINE.ADDED.TITLE' | translate}}</span>
|
||||
<span class="title" mat-dialog-title>{{ 'USER.MACHINE.ADDED.TITLE' | translate }}</span>
|
||||
<div mat-dialog-content>
|
||||
<p class="desc"> {{'USER.MACHINE.ADDED.DESCRIPTION' | translate}}</p>
|
||||
<cnsl-info-section class="desc" [type]="InfoSectionType.WARN">{{
|
||||
'USER.MACHINE.ADDED.DESCRIPTION' | translate
|
||||
}}</cnsl-info-section>
|
||||
<ng-container *ngIf="keyResponse">
|
||||
<div class="row">
|
||||
<p class="left cnsl-secondary-text">{{'USER.MACHINE.ID' | translate}}</p>
|
||||
<p class="right">{{$any(keyResponse)?.id}}</p>
|
||||
<p class="right">{{$any(keyResponse)?.keyId}}</p>
|
||||
<p class="left cnsl-secondary-text">{{ 'USER.MACHINE.ID' | translate }}</p>
|
||||
<p class="right">{{ $any(keyResponse)?.id }}</p>
|
||||
<p class="right">{{ $any(keyResponse)?.keyId }}</p>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<p class="left cnsl-secondary-text">{{'USER.MACHINE.CREATIONDATE' | translate}}</p>
|
||||
<p class="left cnsl-secondary-text">{{ 'USER.MACHINE.CREATIONDATE' | translate }}</p>
|
||||
<p *ngIf="keyResponse.details && keyResponse.details.creationDate" class="right">
|
||||
{{ keyResponse.details.creationDate | timestampToDate | localizedDate: 'EEE dd. MMM YYYY, HH:mm' }}
|
||||
{{ keyResponse.details.creationDate | timestampToDate | localizedDate: 'EEE dd. MMM YYYY, HH:mm' }}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -19,7 +21,8 @@
|
||||
</ng-container>
|
||||
</div>
|
||||
<div mat-dialog-actions class="action">
|
||||
<span class="fill-space"></span>
|
||||
<button color="primary" mat-raised-button class="ok-button" (click)="closeDialog()">
|
||||
{{'ACTIONS.CLOSE' | translate}}
|
||||
{{ 'ACTIONS.CLOSE' | translate }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user