FEATURE: Show the current reply count of the flagged post
This commit is contained in:
parent
f2d00e5eff
commit
35efdb39b3
|
@ -3,3 +3,6 @@
|
|||
{{/if}}
|
||||
{{topic-status topic=flaggedPost.topic}}
|
||||
<a href='{{unbound flaggedPost.url}}'>{{{unbound flaggedPost.topic.fancyTitle}}}</a>
|
||||
{{#if flaggedPost.reply_count}}
|
||||
<span class="flagged-post-reply-count">{{i18n 'admin.flags.replies' count=flaggedPost.reply_count}}</span>
|
||||
{{/if}}
|
||||
|
|
|
@ -67,6 +67,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.flagged-post-reply-count {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.flag-user-lists {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
|
|
|
@ -2804,6 +2804,9 @@ en:
|
|||
more: "(more replies...)"
|
||||
suspend_user: "Suspend User"
|
||||
suspend_user_title: "Suspend user for this post"
|
||||
replies:
|
||||
one: "[1 reply]"
|
||||
other: "[%{count} replies]"
|
||||
|
||||
dispositions:
|
||||
agreed: "agreed"
|
||||
|
|
|
@ -35,6 +35,7 @@ module FlagQuery
|
|||
p.user_id,
|
||||
p.topic_id,
|
||||
p.post_number,
|
||||
p.reply_count,
|
||||
p.hidden,
|
||||
p.deleted_at,
|
||||
p.user_deleted,
|
||||
|
|
Loading…
Reference in New Issue