diff --git a/app/assets/javascripts/admin/templates/flags-topics-index.hbs b/app/assets/javascripts/admin/templates/flags-topics-index.hbs index b5a7eca133e..5ece61b6b72 100644 --- a/app/assets/javascripts/admin/templates/flags-topics-index.hbs +++ b/app/assets/javascripts/admin/templates/flags-topics-index.hbs @@ -1,46 +1,50 @@ {{plugin-outlet name="flagged-topics-before" noTags=true args=(hash flaggedTopics=flaggedTopics)}} -
{{i18n "admin.flags.flagged_topics.topic"}} | -{{i18n "admin.flags.flagged_topics.type"}} | -{{I18n "admin.flags.flagged_topics.users"}} | -{{i18n "admin.flags.flagged_topics.last_flagged"}} | -- +{{#if flaggedTopics}} + |
---|
{{i18n "admin.flags.flagged_topics.topic"}} | +{{i18n "admin.flags.flagged_topics.type"}} | +{{I18n "admin.flags.flagged_topics.users"}} | +{{i18n "admin.flags.flagged_topics.last_flagged"}} | ++ - {{#each flaggedTopics as |ft|}} - |
---|---|---|---|---|
- {{replace-emoji ft.topic.fancy_title}} - | -
- {{#each ft.flag_counts as |fc|}}
-
- {{post-action-title fc.post_action_type_id fc.name_key}}
- x{{fc.count}}
-
- {{/each}}
- |
- - {{flagged-topic-users users=ft.users tagName=""}} - | -- {{format-age ft.last_flag_at}} - | -- {{#link-to - "adminFlags.topics.show" - ft.id - class="btn d-button no-text btn-small btn-primary show-details" - title=(i18n "admin.flags.show_details")}} - {{d-icon "list"}} - {{i18n "admin.flags.details"}} - {{/link-to}} - | -