@if (!admin) { } @if (admin) { default }
{{admin?.name}}
{{admin?.email}}
{{admin?.roles?.[0]?.name}}

{{'Personal Details' | translate}}

{{'Employee ID' | translate}} : {{admin?.empid}}
{{'Name' | translate}} : {{admin?.name}}
{{'Role' | translate}} : {{admin?.roles?.[0]?.name}}
{{'Email' | translate}} : {{admin?.email}}
{{'Phone' | translate}} : {{admin?.phone}}
{{'Languages' | translate}} :
    @if (admin?.languagues) { @for (languagues of adminLang ; track languagues) {
  • {{languagues}}
  • } }
{{'Skills' | translate}} :
    @if (admin?.skills) { @for (skills of adminSkills ; track skills) {
  • {{skills}}
  • } }
{{'Location' | translate}} : {{admin?.country}}
@if (setting?.SPRUKOADMIN_P == 'on') {

{{'Personal Setting' | translate}}

}

{{'Setting' | translate}}

@if (permission?.includes('Profile Edit')) {

{{'Edit Profile' | translate}}

close
{{item}}
@if (setting) {
{{'The file size should not be more than' | translate}} 5 {{'MB' | translate}}
@if (permission?.includes('Profile Edit')) { @if (admin?.image != null) { } }
}
} @else {

{{'Profile Details' | translate}}

} @if (setting?.Employe_google_two_fact == 'on' || setting?.Employe_email_two_fact == 'on') {
{{ 'Two Factor Authentication' | translate }}
@if (setting?.Employe_google_two_fact == 'on') {
} @if (setting?.Employe_email_two_fact == 'on') {
}
@if (autgoogleAuth.workprogress == 'workingmode' && workingmodeStatus) {
{{'Set up Google Authenticator' | translate}}

Set up your two factor authentication by scanning the QR code. Alternatively, you can use the code

{{autgoogleAuth.secret}}
{{'You must set up your Google Authenticator app before continuing. You will be unable to login otherwise' | translate}}
{{'Please enter the' | translate}} {{'OTP' | translate}} {{'generated on your Authenticator App. Ensure you submit the current one because it refreshes every' | translate}} 30 {{'seconds' | translate}}*
} @if (setting?.Employe_google_two_fact == 'on' && admin?.twofactorauth == 'googletwofact' && reconfigureStatus) {
} @if (setting?.Employe_email_two_fact == 'on' && admin?.twofactorauth == 'emailtwofact' && emailtwofactStatus) {
}
}

{{'Change Password' | translate}}

@if (EmailError) { {{EmailError | translate}} }