This repository has been archived on 2023-03-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
osr-discourse-src/app/assets/javascripts/discourse/templates/user/posts.js.handlebars
T
2014-07-16 21:04:55 +02:00

33 lines
1019 B
Handlebars

{{#each model.content}}
<div {{bind-attr class=":item hidden deleted moderator_action"}}>
<div class="clearfix info">
<a href="{{unbound usernameUrl}}" class="avatar-link">
<div class="avatar-wrapper">
{{avatar this imageSize="large" extraClasses="actor" ignoreTitle="true"}}
</div>
</a>
<span class="time">
{{date path="created_at" leaveAgo="true"}}
</span>
<span class="title">
<a href="{{unbound url}}">{{unbound topic_title}}</a>
{{category-link category}}
</span>
<span class="type">
{{descriptionHtml}}
</span>
{{#if deleted}}
<span class="time">
{{i18n post.deleted_by}} {{avatar deleted_by imageSize="tiny" extraClasses="actor" ignoreTitle="true"}} {{date path="deleted_at" leaveAgo="true"}}
</span>
{{/if}}
</div>
<p class="excerpt">
{{{excerpt}}}
</p>
</div>
{{/each}}
{{#if loading}}
<div class='spinner'>{{i18n loading}}</div>
{{/if}}