discourse/app/assets/javascripts/admin/templates/components/flagged-posts.hbs

17 lines
476 B
Handlebars
Raw Normal View History

{{#if flaggedPosts}}
{{#load-more selector=".flagged-post" action=(action "loadMore")}}
2017-09-12 02:01:59 +08:00
<div class='flagged-posts'>
{{#each flaggedPosts as |flaggedPost|}}
{{flagged-post
flaggedPost=flaggedPost
2017-09-15 02:10:39 +08:00
filter=filter
2017-09-12 02:01:59 +08:00
showResolvedBy=showResolvedBy
removePost=(action "removePost" flaggedPost)
hideTitle=topic}}
{{/each}}
</div>
{{/load-more}}
{{else}}
<p>{{i18n 'admin.flags.no_results'}}</p>
{{/if}}