@if (showUserManagementControls()) {
|
|
@if (u.status === userStatusType.Invited) {
{{ "invited" | i18n }}
}
@if (u.status === userStatusType.Accepted) {
{{ "needsConfirmation" | i18n }}
}
@if (u.status === userStatusType.Revoked) {
{{ "revoked" | i18n }}
}
@if (u.name) {
{{ u.email }}
}
|
} @else {
{{ u.name ?? u.email }}
@if (u.status === userStatusType.Invited) {
{{ "invited" | i18n }}
}
@if (u.status === userStatusType.Accepted) {
{{ "needsConfirmation" | i18n }}
}
@if (u.status === userStatusType.Revoked) {
{{ "revoked" | i18n }}
}
@if (u.name) {
{{ u.email }}
}
|
}
@if (showUserManagementControls()) {
|
} @else {
|
}
@if (showUserManagementControls()) {
{{ u.type | userType }}
|
} @else {
{{ u.type | userType }}
|
}
@if (u.twoFactorEnabled) {
{{ "userUsingTwoStep" | i18n }}
}
@let resetPasswordPolicyEnabled = resetPasswordPolicyEnabled$ | async;
@let adminResetTwoFactorEnabled = adminResetTwoFactorEnabled$ | async;
@if (showEnrolledStatus(u, organization, resetPasswordPolicyEnabled)) {
{{ "enrolledAccountRecovery" | i18n }}
}
|
@if (showUserManagementControls()) {
@if (u.status === userStatusType.Invited) {
}
@if (u.status === userStatusType.Accepted) {
}
@if (
u.status === userStatusType.Accepted || u.status === userStatusType.Invited
) {
}
@if (organization.useGroups) {
}
@if (organization.useEvents && u.status === userStatusType.Confirmed) {
}
}
@if (
allowResetPassword(
u,
organization,
resetPasswordPolicyEnabled,
adminResetTwoFactorEnabled
)
) {
}
@if (showUserManagementControls()) {
@if (u.status === userStatusType.Revoked) {
}
@if (u.status !== userStatusType.Revoked) {
}
@if (!u.managedByOrganization) {
} @else {
}
}
|