Adds follow action timestamp to notification (#8756)

Fixes #8755
This commit is contained in:
Colin Dean 2018-09-27 11:11:06 -04:00 committed by Eugen Rochko
parent 8bae14591b
commit 330e320b40
1 changed files with 3 additions and 2 deletions

View File

@ -85,8 +85,9 @@ class Notification extends ImmutablePureComponent {
<div className='notification__favourite-icon-wrapper'> <div className='notification__favourite-icon-wrapper'>
<i className='fas fa-fw fa-user-plus' /> <i className='fas fa-fw fa-user-plus' />
</div> </div>
<span title={notification.get('created_at')}>
<FormattedMessage id='notification.follow' defaultMessage='{name} followed you' values={{ name: link }} /> <FormattedMessage id='notification.follow' defaultMessage='{name} followed you' values={{ name: link }} />
</span>
</div> </div>
<AccountContainer id={account.get('id')} withNote={false} hidden={this.props.hidden} /> <AccountContainer id={account.get('id')} withNote={false} hidden={this.props.hidden} />