mirror of
https://github.com/flarum/framework.git
synced 2025-04-24 21:54:04 +08:00
Include post number in mention notification
This commit is contained in:
parent
cf4074b3b8
commit
6ff446675d
@ -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()+')']
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user