* 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 {
export default function UserScmAccounts({ user, scmAccounts }: Props) {
return (
<div>
- <h2 className="spacer-bottom">{translate('my_profile.scm_accounts')}</h2>
+ <h2 className="spacer-bottom">
+ {translate('my_profile.scm_accounts')}
+ <HelpTooltip
+ className="little-spacer-left"
+ overlay={translate('my_profile.scm_accounts.tooltip')}
+ />
+ </h2>
<ul id="scm-accounts">
<li className="little-spacer-bottom text-ellipsis" title={user.login}>
{user.login}
my_profile.email=Email
my_profile.groups=Groups
my_profile.scm_accounts=SCM Accounts
+my_profile.scm_accounts.tooltip=SCM accounts are used for automatic issue assignment. Login and email are automatically considered as SCM account.
my_profile.password.title=Change password
my_profile.password.old=Old Password
my_profile.password.new=New Password