mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 22:56:07 +08:00
FIX: Show a nicer message when there aren't any flagged topics.
This commit is contained in:
parent
07f4d16f32
commit
84cc52d8fc
|
@ -1,6 +1,7 @@
|
||||||
{{plugin-outlet name="flagged-topics-before" noTags=true args=(hash flaggedTopics=flaggedTopics)}}
|
{{plugin-outlet name="flagged-topics-before" noTags=true args=(hash flaggedTopics=flaggedTopics)}}
|
||||||
|
|
||||||
<table class='flagged-topics'>
|
{{#if flaggedTopics}}
|
||||||
|
<table class='flagged-topics'>
|
||||||
<thead>
|
<thead>
|
||||||
{{plugin-outlet name="flagged-topic-header-row" noTags=true}}
|
{{plugin-outlet name="flagged-topic-header-row" noTags=true}}
|
||||||
<th>{{i18n "admin.flags.flagged_topics.topic"}} </th>
|
<th>{{i18n "admin.flags.flagged_topics.topic"}} </th>
|
||||||
|
@ -43,4 +44,7 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</table>
|
</table>
|
||||||
|
{{else}}
|
||||||
|
{{i18n "admin.flags.flagged_topics.no_results"}}
|
||||||
|
{{/if}}
|
||||||
|
|
|
@ -2837,6 +2837,7 @@ en:
|
||||||
type: "Type"
|
type: "Type"
|
||||||
users: "Users"
|
users: "Users"
|
||||||
last_flagged: "Last Flagged"
|
last_flagged: "Last Flagged"
|
||||||
|
no_results: "There are no flagged topics."
|
||||||
|
|
||||||
short_names:
|
short_names:
|
||||||
off_topic: "off-topic"
|
off_topic: "off-topic"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user