mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-27 01:02:14 +05:30
More general description for the account choosing state
This commit is contained in:
parent
16d11de977
commit
fe4c386dfc
@ -2,5 +2,6 @@
|
||||
"chooseAccountTitle": "Choose an account",
|
||||
"addAccount": "Log into another account",
|
||||
"logoutAll": "Log out from all accounts",
|
||||
"description": "You have logged in into multiple accounts. Please choose the one, you want to use to authorize {appName}"
|
||||
"pleaseChooseAccount": "Please select an account you're willing to use",
|
||||
"pleaseChooseAccountForApp": "Please select an account that you want to use to authorize {appName}"
|
||||
}
|
||||
|
@ -19,13 +19,17 @@ export default class ChooseAccountBody extends BaseAuthBody {
|
||||
<div>
|
||||
{this.renderErrors()}
|
||||
|
||||
{client && (
|
||||
<div className={styles.description}>
|
||||
<Message {...messages.description} values={{
|
||||
appName: <span className={styles.appName}>{client.name}</span>
|
||||
<div className={styles.description}>
|
||||
{client ? (
|
||||
<Message {...messages.pleaseChooseAccountForApp} values={{
|
||||
appName: <span className={styles.appName}>{client.name}</span>,
|
||||
}} />
|
||||
</div>
|
||||
)}
|
||||
) : (
|
||||
<div className={styles.description}>
|
||||
<Message {...messages.pleaseChooseAccount} />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className={styles.accountSwitcherContainer}>
|
||||
<AccountSwitcher
|
||||
|
Loading…
Reference in New Issue
Block a user