mirror of
https://github.com/flarum/framework.git
synced 2024-12-15 16:53:37 +08:00
24 lines
600 B
Handlebars
24 lines
600 B
Handlebars
{{#if post.deleteTime}}
|
|
{{fa-icon "trash-o" class="post-icon"}}
|
|
{{/if}}
|
|
|
|
<header>
|
|
<h3 class="user">
|
|
{{#link-to "user" post.user}}{{user-avatar post.user}} {{post.user.username}}{{/link-to}}
|
|
</h3>
|
|
{{#link-to "discussion" post.discussion (query-params start=post.number) class="time"}}
|
|
{{abbreviate-time post.time}}
|
|
{{/link-to}}
|
|
{{#if post.editTime}}
|
|
<span class="post-edited" {{bind-attr title=editDescription}}>{{fa-icon "pencil"}}</span>
|
|
{{/if}}
|
|
</header>
|
|
|
|
<div class="post-body">
|
|
{{{post.contentHtml}}}
|
|
</div>
|
|
|
|
<aside class="post-meta">
|
|
{{ui/controls/item-list items=meta}}
|
|
</aside>
|