mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-02 10:09:51 -04:00
Say something when no site settings match the filter
This commit is contained in:
parent
68a69f06e3
commit
1616741836
2 changed files with 7 additions and 1 deletions
app/assets/javascripts/admin/templates
config/locales
|
@ -1 +1,6 @@
|
|||
{{collection contentBinding="filteredContent" classNames="form-horizontal settings" itemViewClass="Discourse.SiteSettingView"}}
|
||||
{{#if filteredContent.length}}
|
||||
{{collection contentBinding="filteredContent" classNames="form-horizontal settings" itemViewClass="Discourse.SiteSettingView"}}
|
||||
{{else}}
|
||||
<br/>
|
||||
{{i18n admin.site_settings.no_results}}
|
||||
{{/if}}
|
|
@ -1419,6 +1419,7 @@ en:
|
|||
title: 'Settings'
|
||||
reset: 'reset to default'
|
||||
none: 'none'
|
||||
no_results: "No results found."
|
||||
categories:
|
||||
all_results: 'All'
|
||||
required: 'Required'
|
||||
|
|
Loading…
Add table
Reference in a new issue