@if (form.get('imageUrl')?.value && !avatarFailed) { } @else {
}
{{ displayName }} @if (profile?.username; as username) { {{ '@' + username }} }
@if (roleLabel; as label) { {{ label.key ? (label.key | translate) : label.text }} } @if (profile) { @if (profile.isEmailVerified) { {{ 'USERS_PAGE.EDIT_USER.EMAIL_VERIFIED' | translate }} } @else { {{ 'USERS_PAGE.EDIT_USER.EMAIL_NOT_VERIFIED' | translate }} } }
@if (profile) {
{{ 'USERS_PAGE.EDIT_USER.GROUP_ACCOUNT' | translate }}
{{ 'USERS_PAGE.EDIT_USER.STATUS' | translate }}
{{ (isActiveAccount ? 'USERS_PAGE.EDIT_USER.ACTIVE_STATUS' : 'USERS_PAGE.EDIT_USER.INACTIVE_STATUS') | translate }}
@if (profile.createdAt) {
{{ 'USERS_PAGE.EDIT_USER.MEMBER_SINCE' | translate }}
{{ profile.createdAt | date: 'mediumDate' }}
} @if (profile.updatedAt) {
{{ 'USERS_PAGE.EDIT_USER.LAST_UPDATED' | translate }}
{{ profile.updatedAt | date: 'mediumDate' }}
}
{{ 'USERS_PAGE.EDIT_USER.LAST_SIGN_IN' | translate }}
{{ profile.lastLoginAt ? (profile.lastLoginAt | date: 'medium') : ('USERS_PAGE.EDIT_USER.NEVER_SIGNED_IN' | translate) }}
{{ 'USERS_PAGE.EDIT_USER.GROUP_LOCALE' | translate }}
{{ 'USERS_PAGE.EDIT_USER.LANGUAGE' | translate }}
{{ languageName || ('USERS_PAGE.EDIT_USER.NOT_SET' | translate) }}
{{ 'USERS_PAGE.EDIT_USER.TIME_ZONE' | translate }}
{{ profile.timeZone || ('USERS_PAGE.EDIT_USER.NOT_SET' | translate) }}
@if (localTime; as time) {
{{ 'USERS_PAGE.EDIT_USER.LOCAL_TIME' | translate }}
{{ time }}
}
{{ 'USERS_PAGE.EDIT_USER.TIME_FORMAT' | translate }}
{{ (timeFormatKey || 'USERS_PAGE.EDIT_USER.NOT_SET') | translate }}
}
{{ 'USERS_PAGE.EDIT_USER.PERSONAL_DETAILS' | translate }}
@if (FormHelpers.isInvalidControl(form, 'email')) {
@if (form.get('email').errors?.required) {
{{ 'PROFILE_PAGE.VALIDATION.EMAIL_REQUIRED' | translate }}
}
}
{{ 'USERS_PAGE.EDIT_USER.ACCESS' | translate }}
@if (allowRoleChange) {
}
{{ 'USERS_PAGE.EDIT_USER.PASSWORD' | translate }}

{{ 'USERS_PAGE.EDIT_USER.PASSWORD_HINT' | translate }}

@if (FormHelpers.isInvalidControl(form, 'repeatPassword')) {
@if (form.get('repeatPassword').errors?.mustMatch) {
{{ 'PROFILE_PAGE.VALIDATION.PASSWORDS_DO_NOT_MATCH' | translate }}
}
}
{{ 'USERS_PAGE.EDIT_USER.PREFERENCES' | translate }}