From ember-template-lint documentation (https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-unbound.md): ``` {{unbound}} is a legacy hold over from the days in which Ember's template engine was less performant. Its use today is vestigial, and it no longer offers performance benefits. It is also a poor practice to use it for rendering only the initial value of a property that may later change. ``` Co-Authored-By: Jarek Radosz <jradosz@gmail.com>
13 lines
557 B
Handlebars
13 lines
557 B
Handlebars
{{raw "topic-status" topic=topic}}
|
|
<a class='title' href={{topic.lastUnreadUrl}}>{{{topic.fancyTitle}}}</a>
|
|
{{topic-post-badges newPosts=topic.totalUnread unseen=topic.unseen url=topic.lastUnreadUrl}}
|
|
|
|
{{#if latestTopicOnly}}
|
|
<div class='last-user-info'>
|
|
{{i18n 'categories.latest_by'}} <a href={{{topic.lastPosterUrl}}}>{{topic.last_poster.username}}</a>
|
|
<a href={{topic.lastPostUrl}}>{{format-age topic.last_posted_at}}</a>
|
|
</div>
|
|
{{else}}
|
|
<a href={{topic.lastPostUrl}} class="last-posted-at">{{format-age topic.last_posted_at}}</a>
|
|
{{/if}}
|