mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 12:25:37 +08:00
23 lines
875 B
Handlebars
23 lines
875 B
Handlebars
<div class='user-stream'>
|
|
{{#each p in controller}}
|
|
<div class='item'>
|
|
<div class='clearfix info'>
|
|
<a href="{{unbound p.user.userUrl}}" data-user-card="{{unbound p.user.username}}" class='avatar-link'><div class='avatar-wrapper'>{{avatar p.user imageSize="large" extraClasses="actor" ignoreTitle="true"}}</div></a>
|
|
<span class='time'>{{format-date p.created_at leaveAgo="true"}}</span>
|
|
<span class="title">
|
|
<a href="{{unbound p.url}}">{{unbound p.title}}</a>
|
|
</span>
|
|
<span class="category">{{category-link p.category}}</span>
|
|
<div class="user-info">
|
|
{{#if p.user_long_name}}
|
|
{{p.user_long_name}}{{#if p.user_title}}, {{p.user_title}}{{/if}}
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
<p class='excerpt'>
|
|
{{{unbound p.cooked}}}
|
|
</p>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|