{{#if flaggedPost.postAuthorFlagged}} {{#if flaggedPost.user}} {{#link-to 'adminUser' flaggedPost.user}}{{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}}
{{#unless hideTitle}}

{{#if flaggedPost.topic.isPrivateMessage}} {{d-icon "envelope"}} {{/if}} {{topic-status topic=flaggedPost.topic}} {{{unbound flaggedPost.topic.fancyTitle}}}

{{/unless}} {{#if flaggedPost.postAuthorFlagged}}

{{{flaggedPost.excerpt}}}

{{/if}}
{{#if site.mobileView}}
{{i18n 'admin.flags.flagged_by'}}
{{/if}} {{#each flaggedPost.flaggers as |flagger|}}
{{#link-to 'adminUser' flagger.user class='flagger-avatar'}} {{avatar flagger.user imageSize="medium"}} {{/link-to}}
{{#link-to 'adminUser' flagger.user}} {{flagger.user.username}} {{/link-to}}
{{format-age flagger.flaggedAt}}
{{flagger.flagType}}
{{/each}}
{{#if showResolvedBy}}
{{#each flaggedPost.flaggers as |flagger|}}
{{#link-to 'adminUser' flagger.disposedBy class="disposer-avatar"}} {{avatar flagger.disposedBy imageSize="medium"}} {{/link-to}}
{{format-age flagger.disposedAt}} {{{flagger.dispositionIcon}}} {{#if flagger.tookAction}} {{d-icon "gavel" title="admin.flags.took_action"}} {{/if}}
{{/each}}
{{/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}} {{#if canAct}}
{{d-button title="admin.flags.agree_title" class="agree-flag" label="admin.flags.agree" icon="thumbs-o-up" action="showAgreeFlagModal" ellipsis=true}} {{#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"}} {{d-button class="btn-danger delete-flag" title="admin.flags.delete_title" action="showDeleteFlagModal" icon="trash-o" label="admin.flags.delete"}}
{{/if}}