mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-31 11:32:15 +00:00
fix(console): copyable username (#4683)
fix: copyable username Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
co-authored by
Livio Spring
parent
6c01e6a55b
commit
6c7a05ea0d
@@ -8,6 +8,9 @@
|
||||
<cnsl-info-section *ngIf="data.warnSectionKey" [type]="InfoSectionType.WARN">{{
|
||||
data.warnSectionKey | translate
|
||||
}}</cnsl-info-section>
|
||||
|
||||
<p *ngIf="data.hintKey" class="desc cnsl-secondary-text">{{ data.hintKey | translate: { value: data.confirmation } }}</p>
|
||||
|
||||
<cnsl-form-field *ngIf="data.confirmation && data.confirmationKey" class="formfield">
|
||||
<cnsl-label>{{ data.confirmationKey | translate: { value: data.confirmation } }}</cnsl-label>
|
||||
<input cnslInput [(ngModel)]="confirm" data-e2e="confirm-dialog-input" />
|
||||
|
||||
@@ -256,8 +256,10 @@ export class UserTableComponent implements OnInit {
|
||||
confirmKey: 'ACTIONS.DELETE',
|
||||
cancelKey: 'ACTIONS.CANCEL',
|
||||
titleKey: 'USER.DIALOG.DELETE_SELF_TITLE',
|
||||
descriptionKey: 'USER.DIALOG.DELETE_SELF_DESCRIPTION',
|
||||
confirmationKey: 'USER.DIALOG.TYPEUSERNAME',
|
||||
warnSectionKey: 'USER.DIALOG.DELETE_SELF_DESCRIPTION',
|
||||
hintKey: 'USER.DIALOG.TYPEUSERNAME',
|
||||
hintParam: 'USER.DIALOG.DELETE_DESCRIPTION',
|
||||
confirmationKey: 'USER.DIALOG.USERNAME',
|
||||
confirmation: user.preferredLoginName,
|
||||
};
|
||||
|
||||
@@ -265,8 +267,10 @@ export class UserTableComponent implements OnInit {
|
||||
confirmKey: 'ACTIONS.DELETE',
|
||||
cancelKey: 'ACTIONS.CANCEL',
|
||||
titleKey: 'USER.DIALOG.DELETE_TITLE',
|
||||
descriptionKey: 'USER.DIALOG.DELETE_DESCRIPTION',
|
||||
confirmationKey: 'USER.DIALOG.TYPEUSERNAME',
|
||||
warnSectionKey: 'USER.DIALOG.DELETE_DESCRIPTION',
|
||||
hintKey: 'USER.DIALOG.TYPEUSERNAME',
|
||||
hintParam: 'USER.DIALOG.DELETE_DESCRIPTION',
|
||||
confirmationKey: 'USER.DIALOG.USERNAME',
|
||||
confirmation: user.preferredLoginName,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user