This feature can be enabled by choosing a destination for the `shared drafts category` site setting. * Staff members can create shared drafts, choosing a destination category for the topic when it is published. * Shared Drafts can be viewed in their category, or above the topic list for the destination category where it will end up. * When the shared draft is ready, it can be published to the appropriate category by clicking a button on the topic view. * When published, Drafts change their timestamps to the current time, and any edits to the original post are removed.
49 lines
1.5 KiB
Handlebars
49 lines
1.5 KiB
Handlebars
{{#unless skipHeader}}
|
|
<thead>
|
|
{{raw "topic-list-header"
|
|
canBulkSelect=canBulkSelect
|
|
toggleInTitle=toggleInTitle
|
|
hideCategory=hideCategory
|
|
showPosters=showPosters
|
|
showLikes=showLikes
|
|
showOpLikes=showOpLikes
|
|
showParticipants=showParticipants
|
|
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
|
|
showParticipants=showParticipants
|
|
showLikes=showLikes
|
|
showOpLikes=showOpLikes
|
|
expandGloballyPinned=expandGloballyPinned
|
|
expandAllPinned=expandAllPinned
|
|
lastVisitedTopic=lastVisitedTopic
|
|
selected=selected
|
|
tagsForUser=tagsForUser}}
|
|
{{raw "list/visited-line" lastVisitedTopic=lastVisitedTopic topic=topic}}
|
|
{{/each}}
|
|
</tbody>
|