/
topic-list.hbs
39 lines (36 loc) · 1.85 KB
/
topic-list.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<thead class="topic-list-header">
{{raw "topic-list-header"
canBulkSelect=this.canBulkSelect
toggleInTitle=this.toggleInTitle
hideCategory=this.hideCategory
showPosters=this.showPosters
showLikes=this.showLikes
showOpLikes=this.showOpLikes
order=this.order
ascending=this.ascending
sortable=this.sortable
listTitle=this.listTitle
bulkSelectEnabled=this.bulkSelectEnabled
canDoBulkActions=this.canDoBulkActions}}
</thead>
<PluginOutlet @name="before-topic-list-body" @args={{hash
topics=this.topics
selected=this.selected
bulkSelectEnabled=this.bulkSelectEnabled
lastVisitedTopic=this.lastVisitedTopic
discoveryList=this.discoveryList
hideCategory=this.hideCategory}} />
<tbody class="topic-list-body">
{{#each this.filteredTopics as |topic index|}}
<TopicListItem @topic={{topic}} @bulkSelectEnabled={{this.bulkSelectEnabled}} @showTopicPostBadges={{this.showTopicPostBadges}} @hideCategory={{this.hideCategory}} @showPosters={{this.showPosters}} @showLikes={{this.showLikes}} @showOpLikes={{this.showOpLikes}} @expandGloballyPinned={{this.expandGloballyPinned}} @expandAllPinned={{this.expandAllPinned}} @lastVisitedTopic={{this.lastVisitedTopic}} @selected={{this.selected}} @lastChecked={{this.lastChecked}} @tagsForUser={{this.tagsForUser}} @focusLastVisitedTopic={{this.focusLastVisitedTopic}} @index={{index}} />
{{raw "list/visited-line" lastVisitedTopic=this.lastVisitedTopic topic=topic}}
<PluginOutlet @name="after-topic-list-item" @args={{hash topic=topic index=index}} @connectorTagName="tr" />
{{/each}}
</tbody>
<PluginOutlet @name="after-topic-list-body" @args={{hash
topics=this.topics
selected=this.selected
bulkSelectEnabled=this.bulkSelectEnabled
lastVisitedTopic=this.lastVisitedTopic
discoveryList=this.discoveryList
hideCategory=this.hideCategory}} />