Adds follow action timestamp to notification (#8756)

Fixes #8755
master
Colin Dean 6 years ago committed by Eugen Rochko
parent 8bae14591b
commit 330e320b40
  1. 5
      app/javascript/mastodon/features/notifications/components/notification.js

@ -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} />

Loading…
Cancel
Save