about summary refs log tree commit diff
diff options
context:
space:
mode:
authorColin Dean <colindean@users.noreply.github.com>2018-09-27 11:11:06 -0400
committerEugen Rochko <eugen@zeonfederated.com>2018-09-27 17:11:06 +0200
commit330e320b40e975472e042730f9dfb23083f170e3 (patch)
tree116794a3d2a013ef7edc35400b47a783939e6c05
parent8bae14591bfb4fc9dd9d89d8082ac0123b03edaa (diff)
Adds follow action timestamp to notification (#8756)
Fixes #8755
-rw-r--r--app/javascript/mastodon/features/notifications/components/notification.js5
1 files 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} />