1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 20:20:34 +02:00
This commit is contained in:
Toby Zerner
2015-06-24 11:47:09 +09:30
parent 880f3072ea
commit e53cc010e4

View File

@@ -6,6 +6,7 @@ import CommentPost from 'flarum/components/comment-post';
import PostPreview from 'flarum/components/post-preview';
import punctuate from 'flarum/helpers/punctuate';
import username from 'flarum/helpers/username';
import icon from 'flarum/helpers/icon';
export default function mentionedByList() {
Post.prototype.mentionedBy = Model.many('mentionedBy');
@@ -81,6 +82,7 @@ export default function mentionedByList() {
items.add('replies',
m('div.mentioned-by', {config}, [
m('span.summary', [
icon('reply icon'),
punctuate(repliers.map(reply => {
return m('a', {
href: app.route.post(reply),