feat: replace inactive remove active from select account (#6364)

* feat: replace inactive remove active from select account

* fix: apply same behavior to console user select

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Miguel Cabrerizo 2023-09-08 14:15:39 +02:00 committed by GitHub
parent ff651aed07
commit c115ae374e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 16 additions and 19 deletions

View File

@ -31,14 +31,9 @@
<div class="col"> <div class="col">
<span class="user-title">{{ session.displayName ? session.displayName : session.userName }} </span> <span class="user-title">{{ session.displayName ? session.displayName : session.userName }} </span>
<span class="loginname">{{ session.loginName }}</span> <span class="loginname">{{ session.loginName }}</span>
<span <span class="state inactive" *ngIf="session.authState === UserState.USER_STATE_INACTIVE">{{
class="state" 'USER.STATE.' + session.authState | translate
[ngClass]="{ }}</span>
active: session.authState === UserState.USER_STATE_ACTIVE,
inactive: session.authState === UserState.USER_STATE_INACTIVE
}"
>{{ 'USER.STATE.' + session.authState | translate }}</span
>
</div> </div>
<mat-icon>keyboard_arrow_right</mat-icon> <mat-icon>keyboard_arrow_right</mat-icon>
</a> </a>

View File

@ -25,7 +25,7 @@ SelectAccount:
DescriptionLinking: 'Изберете своя акаунт, който да свържете с вашия външен потребител.' DescriptionLinking: 'Изберете своя акаунт, който да свържете с вашия външен потребител.'
OtherUser: Друг потребител OtherUser: Друг потребител
SessionState0: активен SessionState0: активен
SessionState1: неактивен SessionState1: Не сте в профила си
MustBeMemberOfOrg: 'Потребителят трябва да е член на {{.OrgName}} организация.' MustBeMemberOfOrg: 'Потребителят трябва да е член на {{.OrgName}} организация.'
Password: Password:
Title: Парола Title: Парола

View File

@ -25,7 +25,7 @@ SelectAccount:
DescriptionLinking: Wähle dein Konto, um dieses mit deinem externen Benutzerkonto zu verbinden. DescriptionLinking: Wähle dein Konto, um dieses mit deinem externen Benutzerkonto zu verbinden.
OtherUser: Anderer Benutzer OtherUser: Anderer Benutzer
SessionState0: aktiv SessionState0: aktiv
SessionState1: inaktiv SessionState1: Abgemeldet
MustBeMemberOfOrg: Der Benutzer muss der Organisation {{.OrgName}} angehören. MustBeMemberOfOrg: Der Benutzer muss der Organisation {{.OrgName}} angehören.
Password: Password:

View File

@ -25,7 +25,7 @@ SelectAccount:
DescriptionLinking: Select your account to link with your external user. DescriptionLinking: Select your account to link with your external user.
OtherUser: Other User OtherUser: Other User
SessionState0: active SessionState0: active
SessionState1: inactive SessionState1: Signed out
MustBeMemberOfOrg: The user must be member of the {{.OrgName}} organization. MustBeMemberOfOrg: The user must be member of the {{.OrgName}} organization.
Password: Password:

View File

@ -25,7 +25,7 @@ SelectAccount:
DescriptionLinking: Selecciona tu cuenta para vincular con tu usuario externo. DescriptionLinking: Selecciona tu cuenta para vincular con tu usuario externo.
OtherUser: Otro Usuario OtherUser: Otro Usuario
SessionState0: activo SessionState0: activo
SessionState1: inactivo SessionState1: Se ha cerrado la sesión
MustBeMemberOfOrg: El usuario debe ser miembro de la organización {{.OrgName}}. MustBeMemberOfOrg: El usuario debe ser miembro de la organización {{.OrgName}}.
Password: Password:

View File

@ -25,7 +25,7 @@ SelectAccount:
DescriptionLinking: Sélectionnez votre compte pour établir un lien avec votre utilisateur externe. DescriptionLinking: Sélectionnez votre compte pour établir un lien avec votre utilisateur externe.
OtherUser: Autre utilisateur OtherUser: Autre utilisateur
SessionState0: actif SessionState0: actif
SessionState1: inactif SessionState1: Déconnecté
MustBeMemberOfOrg: L'utilisateur doit être membre de l'organisation {{.OrgName}}. MustBeMemberOfOrg: L'utilisateur doit être membre de l'organisation {{.OrgName}}.
Password: Password:

View File

@ -25,7 +25,7 @@ SelectAccount:
DescriptionLinking: Seleziona il tuo account da collegare al tuo utente esterno. DescriptionLinking: Seleziona il tuo account da collegare al tuo utente esterno.
OtherUser: Altro utente OtherUser: Altro utente
SessionState0: attivo SessionState0: attivo
SessionState1: inattivo SessionState1: Disconnesso
MustBeMemberOfOrg: "L'utente deve essere membro dell'organizzazione {{.OrgName}}." MustBeMemberOfOrg: "L'utente deve essere membro dell'organizzazione {{.OrgName}}."
Password: Password:

View File

@ -18,7 +18,7 @@ SelectAccount:
DescriptionLinking: アカウントを選択して、外部ユーザーにリンクします。 DescriptionLinking: アカウントを選択して、外部ユーザーにリンクします。
OtherUser: その他のユーザー OtherUser: その他のユーザー
SessionState0: アクティブ SessionState0: アクティブ
SessionState1: 非アクティブ SessionState1: ログアウトしました
MustBeMemberOfOrg: ユーザーは組織 {{.OrgName}} のメンバーである必要があります。 MustBeMemberOfOrg: ユーザーは組織 {{.OrgName}} のメンバーである必要があります。
Password: Password:

View File

@ -25,7 +25,7 @@ SelectAccount:
DescriptionLinking: Изберете ја вашата корисничка сметка за да ја поврзете со вашиот надворешен корисник. DescriptionLinking: Изберете ја вашата корисничка сметка за да ја поврзете со вашиот надворешен корисник.
OtherUser: Друг корисник OtherUser: Друг корисник
SessionState0: активна SessionState0: активна
SessionState1: неактивна SessionState1: Одјавени
MustBeMemberOfOrg: Корисникот мора да биде член на организацијата {{.OrgName}}. MustBeMemberOfOrg: Корисникот мора да биде член на организацијата {{.OrgName}}.
Password: Password:

View File

@ -25,7 +25,7 @@ SelectAccount:
DescriptionLinking: Wybierz swoje konto, aby połączyć je z twoim zewnętrznym użytkownikiem. DescriptionLinking: Wybierz swoje konto, aby połączyć je z twoim zewnętrznym użytkownikiem.
OtherUser: Inny użytkownik OtherUser: Inny użytkownik
SessionState0: aktywne SessionState0: aktywne
SessionState1: nieaktywne SessionState1: Wylogowano
MustBeMemberOfOrg: Użytkownik musi być członkiem organizacji {{.OrgName}}. MustBeMemberOfOrg: Użytkownik musi być członkiem organizacji {{.OrgName}}.
Password: Password:

View File

@ -25,7 +25,7 @@ SelectAccount:
DescriptionLinking: Selecione sua conta para vincular com seu usuário externo. DescriptionLinking: Selecione sua conta para vincular com seu usuário externo.
OtherUser: Outro usuário OtherUser: Outro usuário
SessionState0: ativo SessionState0: ativo
SessionState1: inativo SessionState1: Sem sessão iniciada
MustBeMemberOfOrg: O usuário deve ser membro da organização {{.OrgName}}. MustBeMemberOfOrg: O usuário deve ser membro da organização {{.OrgName}}.
Password: Password:

View File

@ -25,7 +25,7 @@ SelectAccount:
DescriptionLinking: 选择您的帐户以与您的外部用户关联。 DescriptionLinking: 选择您的帐户以与您的外部用户关联。
OtherUser: 其他用户 OtherUser: 其他用户
SessionState0: 启用 SessionState0: 启用
SessionState1: 停用 SessionState1: 未登入
MustBeMemberOfOrg: 用户必须是 {{.OrgName}} 组织的成员。 MustBeMemberOfOrg: 用户必须是 {{.OrgName}} 组织的成员。
Password: Password:

View File

@ -42,7 +42,9 @@
<div class="lgn-names"> <div class="lgn-names">
<p class="lgn-displayname">{{$user.DisplayName}}</p> <p class="lgn-displayname">{{$user.DisplayName}}</p>
<p class="lgn-loginname">{{if and $displayLoginNameSuffix $user.SelectionPossible}}{{$user.UserName}}{{else}}{{$user.LoginName}}{{end}}</p> <p class="lgn-loginname">{{if and $displayLoginNameSuffix $user.SelectionPossible}}{{$user.UserName}}{{else}}{{$user.LoginName}}{{end}}</p>
{{if $user.UserSessionState }}
<p class="lgn-session-state i{{$user.UserSessionState}}">{{t $sessionState}}</p> <p class="lgn-session-state i{{$user.UserSessionState}}">{{t $sessionState}}</p>
{{end}}
</div> </div>
<span class="fill-space"></span> <span class="fill-space"></span>
<i class="lgn-icon-angle-right-solid"></i> <i class="lgn-icon-angle-right-solid"></i>