mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 10:14:16 +08:00
parent
76d6442557
commit
95b021a839
|
@ -5,6 +5,7 @@ import avatar from '../../common/helpers/avatar';
|
||||||
import username from '../../common/helpers/username';
|
import username from '../../common/helpers/username';
|
||||||
import DiscussionControls from '../utils/DiscussionControls';
|
import DiscussionControls from '../utils/DiscussionControls';
|
||||||
import ComposerPostPreview from './ComposerPostPreview';
|
import ComposerPostPreview from './ComposerPostPreview';
|
||||||
|
import listItems from '../../common/helpers/listItems';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The `ReplyPlaceholder` component displays a placeholder for a reply, which,
|
* The `ReplyPlaceholder` component displays a placeholder for a reply, which,
|
||||||
|
@ -25,6 +26,7 @@ export default class ReplyPlaceholder extends Component {
|
||||||
{avatar(app.session.user, { className: 'PostUser-avatar' })}
|
{avatar(app.session.user, { className: 'PostUser-avatar' })}
|
||||||
{username(app.session.user)}
|
{username(app.session.user)}
|
||||||
</h3>
|
</h3>
|
||||||
|
<ul className="PostUser-badges badges">{listItems(app.session.user.badges().toArray())}</ul>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<ComposerPostPreview className="Post-body" composer={app.composer} surround={this.anchorPreview.bind(this)} />
|
<ComposerPostPreview className="Post-body" composer={app.composer} surround={this.anchorPreview.bind(this)} />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user