Add fa-info-circle to disclaimer

This commit is contained in:
Thibaut Girka 2019-03-28 17:07:40 +01:00 committed by ThibG
parent 6c58367f36
commit ab39ffb175
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ import { NavLink } from 'react-router-dom';
import { injectIntl, FormattedMessage, FormattedNumber } from 'react-intl'; import { injectIntl, FormattedMessage, FormattedNumber } from 'react-intl';
import { me, isStaff } from 'flavours/glitch/util/initial_state'; import { me, isStaff } from 'flavours/glitch/util/initial_state';
import { profileLink, accountAdminLink } from 'flavours/glitch/util/backend_links'; import { profileLink, accountAdminLink } from 'flavours/glitch/util/backend_links';
import Icon from 'flavours/glitch/components/icon';
@injectIntl @injectIntl
export default class ActionBar extends React.PureComponent { export default class ActionBar extends React.PureComponent {
@ -30,7 +31,7 @@ export default class ActionBar extends React.PureComponent {
if (account.get('acct') !== account.get('username')) { if (account.get('acct') !== account.get('username')) {
extraInfo = ( extraInfo = (
<div className='account__disclaimer'> <div className='account__disclaimer'>
<FormattedMessage <Icon icon='info-circle' fixedWidth /> <FormattedMessage
id='account.disclaimer_full' id='account.disclaimer_full'
defaultMessage="Information below may reflect the user's profile incompletely." defaultMessage="Information below may reflect the user's profile incompletely."
/> />