From 330e320b40e975472e042730f9dfb23083f170e3 Mon Sep 17 00:00:00 2001 From: Colin Dean <colindean@users.noreply.github.com> Date: Thu, 27 Sep 2018 11:11:06 -0400 Subject: [PATCH] Adds follow action timestamp to notification (#8756) Fixes #8755 --- .../features/notifications/components/notification.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/javascript/mastodon/features/notifications/components/notification.js b/app/javascript/mastodon/features/notifications/components/notification.js index c256661af..8776f8be0 100644 --- a/app/javascript/mastodon/features/notifications/components/notification.js +++ b/app/javascript/mastodon/features/notifications/components/notification.js @@ -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} />