1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 05:00:56 +02:00

Include post number in mention notification

This commit is contained in:
Franz Liedke
2015-06-24 22:46:01 +02:00
parent cf4074b3b8
commit 6ff446675d

View File

@@ -11,7 +11,7 @@ export default class PostMentionedNotification extends Notification {
return super.view({
href: app.route.discussion(post.discussion(), auc ? post.number() : (content && content.replyNumber)),
icon: 'reply',
content: [username(notification.sender()), (auc ? ' and '+auc+' others' : '')+' replied to your post']
content: [username(notification.sender()), (auc ? ' and '+auc+' others' : '')+' replied to your post (#'+post.number()+')']
});
}
}