mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 11:58:27 +00:00
UX: show the counts when displaying only overridden settings UX: show 30+ count when more than 30 site settings matches the current filter
14 lines
378 B
Handlebars
14 lines
378 B
Handlebars
{{#if filteredContent}}
|
|
{{#d-section class="form-horizontal settings"}}
|
|
{{#each filteredContent as |setting|}}
|
|
{{site-setting setting=setting}}
|
|
{{/each}}
|
|
{{#if category.hasMore}}
|
|
<p class="warning">{{i18n 'admin.site_settings.more_than_30_results'}}</p>
|
|
{{/if}}
|
|
{{/d-section}}
|
|
{{else}}
|
|
<br/>
|
|
{{i18n 'admin.site_settings.no_results'}}
|
|
{{/if}}
|