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

18 lines
498 B
Handlebars
Raw Normal View History

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