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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -42,7 +42,9 @@
<div class="lgn-names">
<p class="lgn-displayname">{{$user.DisplayName}}</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>
{{end}}
</div>
<span class="fill-space"></span>
<i class="lgn-icon-angle-right-solid"></i>