{{#unless hideTitle}}
{{#if flaggedPost.topicFlagged}}
{{/if}}
{{#each flaggedPost.conversations as |c|}}
{{#if flaggedPost.topic.isPrivateMessage}} {{{unbound flaggedPost.topic.fancyTitle}}}
{{/unless}} {{#if flaggedPost.postAuthorFlagged}} {{#if expanded}} {{{flaggedPost.cooked}}} {{else}} {{/if}} {{topic-status topic=flaggedPost.topic}}{{{flaggedPost.excerpt}}} {{i18n "admin.flags.show_full"}}
{{/if}} {{/if}}
{{#if c.response}}
{{flagged-post-response response=c.response}}
{{#if c.reply}}
{{flagged-post-response response=c.reply hasMore=c.hasMore permalink=c.permalink}}
{{/if}}
{{d-icon "reply"}}
{{i18n "admin.flags.reply_message"}}
{{/if}}
{{/each}}
{{i18n "admin.flags.flagged_by"}}
{{#each flaggedPost.post_actions as |postAction|}}
{{#flag-user user=postAction.user date=postAction.created_at}}
{{post-action-title postAction.post_action_type_id postAction.name_key}}
{{/flag-user}}
{{/each}}
{{i18n "admin.flags.resolved_by"}}
{{#each flaggedPost.post_actions as |postAction|}}
{{#flag-user user=postAction.disposed_by date=postAction.disposed_at}}
{{disposition-icon postAction.disposition}}
{{#if postAction.staff_took_action}}
{{d-icon "gavel" title="admin.flags.took_action"}}
{{/if}}
{{/flag-user}}
{{/each}}
{{#if canAct}}
{{admin-agree-flag-dropdown
post=flaggedPost
removeAfter=(action "removeAfter") }}
{{#if flaggedPost.postHidden}}
{{d-button
title="admin.flags.disagree_flag_unhide_post_title"
class="disagree-flag"
action="disagree"
icon="thumbs-o-down"
label="admin.flags.disagree_flag_unhide_post"}}
{{else}}
{{d-button
title="admin.flags.disagree_flag_title"
class="disagree-flag"
action="disagree"
icon="thumbs-o-down"
label="admin.flags.disagree_flag"}}
{{/if}}
{{d-button
class="defer-flag"
title="admin.flags.defer_flag_title"
action="defer"
icon="external-link"
label="admin.flags.defer_flag"}}
{{admin-delete-flag-dropdown post=flaggedPost removeAfter=(action "removeAfter")}}
{{#unless suspended}}
{{d-button
class="btn-danger suspend-user"
icon="ban"
label="admin.flags.suspend_user"
title="admin.flags.suspend_user_title"
action=(action "showSuspendModal")}}
{{/unless}}
{{/if}}
{{d-button
icon="list"
label="admin.flags.moderation_history"
action=(action "showModerationHistory")}}
{{plugin-outlet
name="flagged-post-below-controls"
tagName=""
args=(hash flaggedPost=flaggedPost canAct=canAct)}}