This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/templates/components/topic-list.hbs
2019-04-26 23:43:49 +02:00

47 lines
1.4 KiB
Handlebars

{{#unless skipHeader}}
<thead>
{{raw "topic-list-header"
canBulkSelect=canBulkSelect
toggleInTitle=toggleInTitle
hideCategory=hideCategory
showPosters=showPosters
showLikes=showLikes
showOpLikes=showOpLikes
order=order
ascending=ascending
sortable=sortable
listTitle=listTitle
bulkSelectEnabled=bulkSelectEnabled}}
</thead>
{{/unless}}
{{plugin-outlet
name="before-topic-list-body"
args=(hash
topics=topics
selected=selected
bulkSelectEnabled=bulkSelectEnabled
lastVisitedTopic=lastVisitedTopic
discoveryList=discoveryList
hideCategory=hideCategory)
tagName=""
connectorTagName=""}}
<tbody>
{{#each filteredTopics as |topic|}}
{{topic-list-item topic=topic
bulkSelectEnabled=bulkSelectEnabled
showTopicPostBadges=showTopicPostBadges
hideCategory=hideCategory
showPosters=showPosters
showLikes=showLikes
showOpLikes=showOpLikes
expandGloballyPinned=expandGloballyPinned
expandAllPinned=expandAllPinned
lastVisitedTopic=lastVisitedTopic
selected=selected
tagsForUser=tagsForUser}}
{{raw "list/visited-line" lastVisitedTopic=lastVisitedTopic topic=topic}}
{{/each}}
</tbody>