Say something when no site settings match the filter

This commit is contained in:
Neil Lalonde 2013-11-19 16:45:56 -05:00
parent 68a69f06e3
commit 1616741836
2 changed files with 7 additions and 1 deletions

View File

@ -1 +1,6 @@
{{#if filteredContent.length}}
{{collection contentBinding="filteredContent" classNames="form-horizontal settings" itemViewClass="Discourse.SiteSettingView"}}
{{else}}
<br/>
{{i18n admin.site_settings.no_results}}
{{/if}}

View File

@ -1419,6 +1419,7 @@ en:
title: 'Settings'
reset: 'reset to default'
none: 'none'
no_results: "No results found."
categories:
all_results: 'All'
required: 'Required'