{{#if flaggedPost.postAuthorFlagged}} {{#if flaggedPost.user}} {{#link-to 'adminUser' flaggedPost.user.id flaggedPost.user.username}} {{avatar flaggedPost.user imageSize="large"}} {{/link-to}} {{#if flaggedPost.wasEdited}}
{{d-icon "pencil" title="admin.flags.was_edited"}}
{{/if}} {{/if}} {{/if}} {{#if canAct}} {{#if flaggedPost.previous_flags_count}} {{flaggedPost.previous_flags_count}} {{/if}} {{/if}}
{{format-username flaggedPost.user.username}} {{plugin-outlet name="flagged-post-controls" tagName="" args=(hash flaggedPost=flaggedPost actableFilter=actableFilter topic=topic)}}
{{#unless hideTitle}} {{flagged-post-title flaggedPost=flaggedPost}} {{/unless}} {{#if flaggedPost.postAuthorFlagged}} {{#if expanded}} {{{flaggedPost.cooked}}} {{else}}

{{{flaggedPost.excerpt}}} {{i18n "admin.flags.show_full"}}

{{/if}} {{/if}}
{{#if flaggedPost.topicFlagged}}
{{{i18n 'admin.flags.topic_flagged'}}} {{i18n 'admin.flags.visit_topic'}}
{{/if}} {{#each flaggedPost.conversations as |c|}}
{{#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}} {{flag-user-lists flaggedPost=flaggedPost showResolvedBy=showResolvedBy}} {{#if suspended}}
The user was suspended for this post.
{{/if}}
{{#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.ignore_flag_title" action="defer" icon="external-link" label="admin.flags.ignore_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 actableFilter=actableFilter)}}