mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
27 lines
786 B
Handlebars
27 lines
786 B
Handlebars
{{#if flaggedPosts}}
|
|
{{#load-more selector=".flagged-post" action=(action "loadMore")}}
|
|
<table class="admin-flags">
|
|
<thead>
|
|
<tr>
|
|
<th class='excerpt'></th>
|
|
<th class='flaggers'>{{i18n 'admin.flags.flagged_by'}}</th>
|
|
<th class='flaggers'>{{#if showResolvedBy}}{{i18n 'admin.flags.resolved_by'}}{{/if}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{#each flaggedPosts as |flaggedPost|}}
|
|
{{flagged-post
|
|
flaggedPost=flaggedPost
|
|
canAct=canAct
|
|
showResolvedBy=showResolvedBy
|
|
removePost=(action "removePost" flaggedPost)
|
|
hideTitle=topic}}
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
</table>
|
|
{{/load-more}}
|
|
{{else}}
|
|
<p>{{i18n 'admin.flags.no_results'}}</p>
|
|
{{/if}}
|