mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 01:15:00 +08:00
26 lines
706 B
Handlebars
26 lines
706 B
Handlebars
{{#if flaggedPosts}}
|
|
{{#load-more selector=".flagged-post" action=(action "loadMore")}}
|
|
<div class='flagged-posts-header'>
|
|
<div class='flagged-by-header'>
|
|
{{i18n 'admin.flags.flagged_by'}}
|
|
</div>
|
|
{{#if showResolvedBy}}
|
|
{{i18n 'admin.flags.resolved_by'}}
|
|
{{/if}}
|
|
</div>
|
|
|
|
<div class='flagged-posts'>
|
|
{{#each flaggedPosts as |flaggedPost|}}
|
|
{{flagged-post
|
|
flaggedPost=flaggedPost
|
|
canAct=canAct
|
|
showResolvedBy=showResolvedBy
|
|
removePost=(action "removePost" flaggedPost)
|
|
hideTitle=topic}}
|
|
{{/each}}
|
|
</div>
|
|
{{/load-more}}
|
|
{{else}}
|
|
<p>{{i18n 'admin.flags.no_results'}}</p>
|
|
{{/if}}
|