2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-12 21:10:47 +08:00
discourse/app/assets/javascripts/discourse/templates/embedded-post.hbs
2015-09-17 14:30:28 -07:00

16 lines
772 B
Handlebars

<div class='row'>
<div class='topic-avatar'>
{{raw "post/poster-avatar" post=this classNames="main-avatar"}}
</div>
<div class='topic-body'>
<div class="topic-meta-data">
{{poster-name post=this}}
{{#if view.parentView.previousPost}}<a href='{{unbound url}}' class="post-info arrow" title="{{i18n 'topic.jump_reply_up'}}"><i class='fa fa-arrow-up'></i></a>{{/if}}
{{#unless view.parentView.previousPost}}<a href='{{unbound url}}' class="post-info arrow" title="{{i18n 'topic.jump_reply_down'}}"><i class='fa fa-arrow-down'></i></a>{{/unless}}
<a href='{{unbound url}}'><div class='post-info post-date'>{{age-with-tooltip created_at}}</div></a>
</div>
<div class='cooked'>
{{{unbound cooked}}}
</div>
</div>
</div>