2017-09-06 03:29:53 +08:00
|
|
|
{{#if flaggedPosts}}
|
|
|
|
{{#load-more selector=".flagged-post" action=(action "loadMore")}}
|
2016-06-22 22:32:50 +08:00
|
|
|
<table class="admin-flags">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class='excerpt'></th>
|
|
|
|
<th class='flaggers'>{{i18n 'admin.flags.flagged_by'}}</th>
|
2017-09-06 03:29:53 +08:00
|
|
|
<th class='flaggers'>{{#if showResolvedBy}}{{i18n 'admin.flags.resolved_by'}}{{/if}}</th>
|
2016-06-22 22:32:50 +08:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2017-09-06 03:29:53 +08:00
|
|
|
{{#each flaggedPosts as |flaggedPost|}}
|
2017-09-09 04:27:07 +08:00
|
|
|
{{flagged-post
|
|
|
|
flaggedPost=flaggedPost
|
|
|
|
canAct=canAct
|
|
|
|
showResolvedBy=showResolvedBy
|
|
|
|
removePost=(action "removePost" flaggedPost)
|
2017-09-09 04:47:49 +08:00
|
|
|
hideTitle=topic}}
|
2016-06-22 22:32:50 +08:00
|
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2016-05-10 04:07:36 +08:00
|
|
|
{{/load-more}}
|
2014-11-12 04:48:13 +08:00
|
|
|
{{else}}
|
2014-12-09 05:35:49 +08:00
|
|
|
<p>{{i18n 'admin.flags.no_results'}}</p>
|
2014-11-12 04:48:13 +08:00
|
|
|
{{/if}}
|