|
|
|
@ -30,7 +30,8 @@ class ActionBar extends PureComponent {
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
<div className='account__disclaimer'>
|
|
|
|
|
<Icon id='info-circle' icon={InfoIcon} /> <FormattedMessage
|
|
|
|
|
<Icon id='info-circle' icon={InfoIcon} />
|
|
|
|
|
<FormattedMessage
|
|
|
|
|
id='account.suspended_disclaimer_full'
|
|
|
|
|
defaultMessage='This user has been suspended by a moderator.'
|
|
|
|
|
/>
|
|
|
|
@ -44,14 +45,17 @@ class ActionBar extends PureComponent {
|
|
|
|
|
if (account.get('acct') !== account.get('username')) {
|
|
|
|
|
extraInfo = (
|
|
|
|
|
<div className='account__disclaimer'>
|
|
|
|
|
<Icon id='info-circle' icon={InfoIcon} /> <FormattedMessage
|
|
|
|
|
id='account.disclaimer_full'
|
|
|
|
|
defaultMessage="Information below may reflect the user's profile incompletely."
|
|
|
|
|
/>
|
|
|
|
|
{' '}
|
|
|
|
|
<a target='_blank' rel='noopener' href={account.get('url')}>
|
|
|
|
|
<FormattedMessage id='account.view_full_profile' defaultMessage='View full profile' />
|
|
|
|
|
</a>
|
|
|
|
|
<Icon id='info-circle' icon={InfoIcon} />
|
|
|
|
|
<div>
|
|
|
|
|
<FormattedMessage
|
|
|
|
|
id='account.disclaimer_full'
|
|
|
|
|
defaultMessage="Information below may reflect the user's profile incompletely."
|
|
|
|
|
/>
|
|
|
|
|
{' '}
|
|
|
|
|
<a target='_blank' rel='noopener' href={account.get('url')}>
|
|
|
|
|
<FormattedMessage id='account.view_full_profile' defaultMessage='View full profile' />
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|