mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Show a nicer message when there aren't any flagged topics.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{{plugin-outlet name="flagged-topics-before" noTags=true args=(hash flaggedTopics=flaggedTopics)}}
|
||||
|
||||
{{#if flaggedTopics}}
|
||||
<table class='flagged-topics'>
|
||||
<thead>
|
||||
{{plugin-outlet name="flagged-topic-header-row" noTags=true}}
|
||||
@@ -44,3 +45,6 @@
|
||||
</tr>
|
||||
{{/each}}
|
||||
</table>
|
||||
{{else}}
|
||||
{{i18n "admin.flags.flagged_topics.no_results"}}
|
||||
{{/if}}
|
||||
|
||||
@@ -2837,6 +2837,7 @@ en:
|
||||
type: "Type"
|
||||
users: "Users"
|
||||
last_flagged: "Last Flagged"
|
||||
no_results: "There are no flagged topics."
|
||||
|
||||
short_names:
|
||||
off_topic: "off-topic"
|
||||
|
||||
Reference in New Issue
Block a user