mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 00:13:44 +08:00
371bbadb92
* Run no-implicit-this codemod for app templates * Run tagless-ember-components-codemod for plugins * Turn on no-implicit-this lint
36 lines
1.1 KiB
Handlebars
36 lines
1.1 KiB
Handlebars
<div class="admin-controls">
|
|
|
|
<div class="controls">
|
|
<div class="inline-form">
|
|
<DButton @action={{action "toggleMenu"}} @class="menu-toggle" @icon="bars" />
|
|
<TextField @id="setting-filter" @value={{this.filter}} @placeholderKey="type_to_filter" @class="no-blur" />
|
|
<DButton @class="btn-default" @id="clear-filter" @action={{action "clearFilter"}} @label="admin.site_settings.clear_filter" />
|
|
</div>
|
|
</div>
|
|
<div class="search controls">
|
|
<label>
|
|
<Input @type="checkbox" @checked={{this.onlyOverridden}} />
|
|
{{i18n "admin.settings.show_overriden"}}
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="admin-nav pull-left">
|
|
<ul class="nav nav-stacked">
|
|
{{#each this.visibleSiteSettings as |category|}}
|
|
<li class={{category.nameKey}}>
|
|
<LinkTo @route="adminSiteSettingsCategory" @model={{category.nameKey}} class={{category.nameKey}}>
|
|
{{category.name}}
|
|
{{#if category.count}}<span class="count">({{category.count}})</span>{{/if}}
|
|
</LinkTo>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="admin-detail pull-left mobile-closed">
|
|
{{outlet}}
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|