mirror of
https://github.com/discourse/discourse.git
synced 2025-02-27 16:37:39 +08:00

This reverts commit 91e9c1c81343990d5ebbb3a3bb7c68ec4445d610. After feedback, for now we are reverting this change. This is not permanent, the settings sidebar will be removed again, after we: * Visually group the settings the same way as the sidebar does on All Settings * Add more settings pages to the main admin sidebar to cover the ~250 settings not yet represented there
51 lines
1.3 KiB
Handlebars
51 lines
1.3 KiB
Handlebars
<DPageHeader
|
|
@titleLabel={{i18n "admin.site_settings.title"}}
|
|
@descriptionLabel={{i18n "admin.site_settings.description"}}
|
|
@hideTabs={{true}}
|
|
>
|
|
<:breadcrumbs>
|
|
<DBreadcrumbsItem @path="/admin" @label={{i18n "admin_title"}} />
|
|
<DBreadcrumbsItem
|
|
@path="/admin/site_settings"
|
|
@label={{i18n "admin.site_settings.title"}}
|
|
/>
|
|
</:breadcrumbs>
|
|
</DPageHeader>
|
|
|
|
<AdminSiteSettingsFilterControls
|
|
@initialFilter={{this.filter}}
|
|
@onChangeFilter={{this.filterChanged}}
|
|
@showMenu={{true}}
|
|
@onToggleMenu={{this.toggleMenu}}
|
|
/>
|
|
|
|
<div class="admin-nav admin-site-settings-category-nav pull-left">
|
|
<ul class="nav nav-stacked">
|
|
{{#each this.visibleSiteSettings as |category|}}
|
|
<li
|
|
class={{concat-class
|
|
"admin-site-settings-category-nav__item"
|
|
category.nameKey
|
|
}}
|
|
>
|
|
<LinkTo
|
|
@route="adminSiteSettingsCategory"
|
|
@model={{category.nameKey}}
|
|
class={{category.nameKey}}
|
|
title={{category.name}}
|
|
>
|
|
{{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> |