mirror of
https://github.com/flarum/core.git
synced 2025-07-29 04:30:56 +02:00
Add icon
This commit is contained in:
@@ -6,6 +6,7 @@ import CommentPost from 'flarum/components/comment-post';
|
|||||||
import PostPreview from 'flarum/components/post-preview';
|
import PostPreview from 'flarum/components/post-preview';
|
||||||
import punctuate from 'flarum/helpers/punctuate';
|
import punctuate from 'flarum/helpers/punctuate';
|
||||||
import username from 'flarum/helpers/username';
|
import username from 'flarum/helpers/username';
|
||||||
|
import icon from 'flarum/helpers/icon';
|
||||||
|
|
||||||
export default function mentionedByList() {
|
export default function mentionedByList() {
|
||||||
Post.prototype.mentionedBy = Model.many('mentionedBy');
|
Post.prototype.mentionedBy = Model.many('mentionedBy');
|
||||||
@@ -81,6 +82,7 @@ export default function mentionedByList() {
|
|||||||
items.add('replies',
|
items.add('replies',
|
||||||
m('div.mentioned-by', {config}, [
|
m('div.mentioned-by', {config}, [
|
||||||
m('span.summary', [
|
m('span.summary', [
|
||||||
|
icon('reply icon'),
|
||||||
punctuate(repliers.map(reply => {
|
punctuate(repliers.map(reply => {
|
||||||
return m('a', {
|
return m('a', {
|
||||||
href: app.route.post(reply),
|
href: app.route.post(reply),
|
||||||
|
Reference in New Issue
Block a user