From fe4c386dfc4bdf154e95f28136883fd064c13044 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Wed, 14 Mar 2018 15:13:16 +0300 Subject: [PATCH] More general description for the account choosing state --- .../auth/chooseAccount/ChooseAccount.intl.json | 3 ++- .../auth/chooseAccount/ChooseAccountBody.js | 16 ++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/components/auth/chooseAccount/ChooseAccount.intl.json b/src/components/auth/chooseAccount/ChooseAccount.intl.json index 9b207ca..1770688 100644 --- a/src/components/auth/chooseAccount/ChooseAccount.intl.json +++ b/src/components/auth/chooseAccount/ChooseAccount.intl.json @@ -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}" } diff --git a/src/components/auth/chooseAccount/ChooseAccountBody.js b/src/components/auth/chooseAccount/ChooseAccountBody.js index 0317a25..709f830 100644 --- a/src/components/auth/chooseAccount/ChooseAccountBody.js +++ b/src/components/auth/chooseAccount/ChooseAccountBody.js @@ -19,13 +19,17 @@ export default class ChooseAccountBody extends BaseAuthBody {
{this.renderErrors()} - {client && ( -
- {client.name} +
+ {client ? ( + {client.name}, }} /> -
- )} + ) : ( +
+ +
+ )} +