mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-26 09:28:35 +08:00
Update the header of the admin Site Settings page to be more consistent with the rest of the admin UI.
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> |