Add fa-info-circle to disclaimer

master
Thibaut Girka 6 years ago committed by ThibG
parent 6c58367f36
commit ab39ffb175
  1. 3
      app/javascript/flavours/glitch/features/account/components/action_bar.js

@ -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."
/> />

Loading…
Cancel
Save