Browse Source

Adds follow action timestamp to notification (#8756)

Fixes #8755
pull/4/head
Colin Dean 5 years ago
committed by Eugen Rochko
parent
commit
330e320b40
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      app/javascript/mastodon/features/notifications/components/notification.js

+ 3
- 2
app/javascript/mastodon/features/notifications/components/notification.js View File

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

Loading…
Cancel
Save