From bb707122a8dba99ce7c8f2e122b121fdce90ff6c Mon Sep 17 00:00:00 2001 From: Philippe Perrin Date: Fri, 11 Oct 2019 09:20:59 +0200 Subject: [PATCH] SONAR-12563 Add help tooltip to SCM accounts section --- .../src/main/js/apps/account/profile/UserScmAccounts.tsx | 9 ++++++++- .../src/main/resources/org/sonar/l10n/core.properties | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/apps/account/profile/UserScmAccounts.tsx b/server/sonar-web/src/main/js/apps/account/profile/UserScmAccounts.tsx index 194c837432b..9055fc5de7f 100644 --- a/server/sonar-web/src/main/js/apps/account/profile/UserScmAccounts.tsx +++ b/server/sonar-web/src/main/js/apps/account/profile/UserScmAccounts.tsx @@ -18,6 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import * as React from 'react'; +import HelpTooltip from 'sonar-ui-common/components/controls/HelpTooltip'; import { translate } from 'sonar-ui-common/helpers/l10n'; interface Props { @@ -28,7 +29,13 @@ interface Props { export default function UserScmAccounts({ user, scmAccounts }: Props) { return (
-

{translate('my_profile.scm_accounts')}

+

+ {translate('my_profile.scm_accounts')} + +