mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:23:25 +08:00
UX: Display JIT when user list is empty (#26579)
* UX: Display JIT when user list is empty * UX: Remove empty state heading * DEV: add spacing by enclosing empty state body in <p> tag
This commit is contained in:
parent
72ac675e4e
commit
002ff94ded
|
@ -77,8 +77,20 @@
|
|||
/>
|
||||
<ConditionalLoadingSpinner @condition={{this.model.loadingMore}} />
|
||||
{{else}}
|
||||
<div class="clearfix"></div>
|
||||
<p>{{i18n "directory.no_results"}}</p>
|
||||
<div class="empty-state">
|
||||
<div class="empty-state-body">
|
||||
<p>
|
||||
{{i18n "directory.no_results.body"}}
|
||||
{{#if this.currentUser.staff}}
|
||||
{{html-safe
|
||||
(i18n
|
||||
"directory.no_results.extra_body" basePath=(base-path)
|
||||
)
|
||||
}}
|
||||
{{/if}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</ConditionalLoadingSpinner>
|
||||
</div>
|
||||
|
|
|
@ -765,7 +765,9 @@ en:
|
|||
topic_count_long: "Topics Created"
|
||||
post_count: "Replies"
|
||||
post_count_long: "Replies Posted"
|
||||
no_results: "No results were found."
|
||||
no_results:
|
||||
body: "A list of community members showing their activity will be shown here. For now the list is empty because your community is still brand new!"
|
||||
extra_body: "Admins and moderators can see and manage users in <a href='%{basePath}/admin/users/'>User Admin</a>."
|
||||
days_visited: "Visits"
|
||||
days_visited_long: "Days Visited"
|
||||
posts_read: "Read"
|
||||
|
|
Loading…
Reference in New Issue
Block a user