mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
More general description for the account choosing state
This commit is contained in:
@@ -2,5 +2,6 @@
|
|||||||
"chooseAccountTitle": "Choose an account",
|
"chooseAccountTitle": "Choose an account",
|
||||||
"addAccount": "Log into another account",
|
"addAccount": "Log into another account",
|
||||||
"logoutAll": "Log out from all accounts",
|
"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>
|
<div>
|
||||||
{this.renderErrors()}
|
{this.renderErrors()}
|
||||||
|
|
||||||
{client && (
|
<div className={styles.description}>
|
||||||
<div className={styles.description}>
|
{client ? (
|
||||||
<Message {...messages.description} values={{
|
<Message {...messages.pleaseChooseAccountForApp} values={{
|
||||||
appName: <span className={styles.appName}>{client.name}</span>
|
appName: <span className={styles.appName}>{client.name}</span>,
|
||||||
}} />
|
}} />
|
||||||
</div>
|
) : (
|
||||||
)}
|
<div className={styles.description}>
|
||||||
|
<Message {...messages.pleaseChooseAccount} />
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className={styles.accountSwitcherContainer}>
|
<div className={styles.accountSwitcherContainer}>
|
||||||
<AccountSwitcher
|
<AccountSwitcher
|
||||||
|
Reference in New Issue
Block a user