CLEANUP: removed all unused handlebars helpers REFACTOR: removed 'unbound' prefix (for performance reasons, helpers are unbound by default) REFACTOR: added 'bound' prefix to bound helpers REFACTOR: renamed helper using 'foo-bar-foo' syntax (instead of camel case)
22 lines
707 B
Handlebars
22 lines
707 B
Handlebars
<div class='user-stream'>
|
|
{{#each model itemController="group/post"}}
|
|
<div class='item'>
|
|
<div class='clearfix info'>
|
|
{{#link-to 'user' user class="avatar-link"}}<div class='avatar-wrapper'>{{avatar user imageSize="large" extraClasses="actor" ignoreTitle="true"}}</div>{{/link-to}}
|
|
<span class='time'>{{date path="created_at" leaveAgo="true"}}</span>
|
|
<span class="title">
|
|
<a href="{{unbound url}}">{{unbound title}}</a>
|
|
</span>
|
|
{{#if byName}}
|
|
<span class="title">
|
|
{{unbound byName}}
|
|
</span>
|
|
{{/if}}
|
|
</div>
|
|
<p class='excerpt'>
|
|
{{{unbound cooked}}}
|
|
</p>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|