65 lines
1.7 KiB
Handlebars
65 lines
1.7 KiB
Handlebars
{{#if bulkSelectEnabled}}
|
|
<td class='star'>
|
|
<input type="checkbox" class="bulk-select">
|
|
</td>
|
|
{{/if}}
|
|
|
|
<td class='main-link clearfix' colspan="{{titleColSpan}}">
|
|
{{raw "topic-status" topic=topic}}
|
|
{{topic-link topic}}
|
|
{{plugin-outlet "topic-list-after-title"}}
|
|
{{#if showTopicPostBadges}}
|
|
{{raw "topic-post-badges" unread=topic.unread newPosts=topic.displayNewPosts unseen=topic.unseen url=topic.lastUnreadUrl}}
|
|
{{/if}}
|
|
{{#if topic.tags}}
|
|
<div class='discourse-tags'>
|
|
{{#each topic.visibleListTags as |tag|}}
|
|
{{discourse-tag tag}}
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
{{plugin-outlet "topic-list-tags"}}
|
|
{{#if expandPinned}}
|
|
{{raw "list/topic-excerpt" topic=topic}}
|
|
{{/if}}
|
|
{{raw "list/action-list" topic=topic postNumbers=topic.liked_post_numbers className="likes" icon="heart"}}
|
|
</td>
|
|
|
|
{{#unless hideCategory}}
|
|
{{#unless topic.isPinnedUncategorized}}
|
|
{{raw "list/category-column" category=topic.category}}
|
|
{{/unless}}
|
|
{{/unless}}
|
|
|
|
{{#if showPosters}}
|
|
{{raw "list/posters-column" posters=topic.posters}}
|
|
{{/if}}
|
|
|
|
{{raw "list/posts-count-column" topic=topic}}
|
|
|
|
{{#if showParticipants}}
|
|
{{raw "list/posters-column" posters=topic.participants}}
|
|
{{/if}}
|
|
|
|
{{#if showLikes}}
|
|
<td class="num likes">
|
|
{{#if hasLikes}}
|
|
<a href='{{topic.summaryUrl}}'>
|
|
{{number topic.like_count}} <i class='fa fa-heart'></i></td>
|
|
</a>
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
{{#if showOpLikes}}
|
|
<td class="num likes">
|
|
{{#if hasOpLikes}}
|
|
<a href='{{topic.summaryUrl}}'>
|
|
{{number topic.op_like_count}} <i class='fa fa-heart'></i></td>
|
|
</a>
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
<td class="num views {{topic.viewsHeat}}">{{number topic.views numberKey="views_long"}}</td>
|
|
|
|
{{raw "list/activity-column" topic=topic class="num" tagName="td"}}
|