discourse/app/assets/javascripts/admin/templates/site-settings-category.hbs

14 lines
415 B
Handlebars

{{#if filteredContent}}
{{#d-section class="form-horizontal settings"}}
{{#each filteredContent as |setting|}}
{{site-setting setting=setting afterSave=(route-action "refreshAll")}}
{{/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}}