mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-23 16:56:50 +08:00
This reverts commit 91e9c1c813.
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
No EOL
1.3 KiB
Handlebars
Vendored
51 lines
No EOL
1.3 KiB
Handlebars
Vendored
<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> |