mirror of
https://github.com/discourse/discourse.git
synced 2025-01-17 00:02:45 +08:00
70381a1e39
Followup c2282439b3
Make the Experimental config page reached from the sidebar
use our consistent site setting page rules.
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
import RouteTemplate from "ember-route-template";
|
|
import DBreadcrumbsItem from "discourse/components/d-breadcrumbs-item";
|
|
import DPageHeader from "discourse/components/d-page-header";
|
|
import { i18n } from "discourse-i18n";
|
|
import AdminAreaSettings from "admin/components/admin-area-settings";
|
|
|
|
export default RouteTemplate(<template>
|
|
<DPageHeader
|
|
@titleLabel={{i18n "admin.config.experimental.title"}}
|
|
@descriptionLabel={{i18n "admin.config.experimental.header_description"}}
|
|
>
|
|
<:breadcrumbs>
|
|
<DBreadcrumbsItem @path="/admin" @label={{i18n "admin_title"}} />
|
|
<DBreadcrumbsItem
|
|
@path="/admin/config/experimental"
|
|
@label={{i18n "admin.config.experimental.title"}}
|
|
/>
|
|
</:breadcrumbs>
|
|
</DPageHeader>
|
|
|
|
<div class="admin-config-page__main-area">
|
|
<AdminAreaSettings
|
|
@categories="experimental"
|
|
@path="/admin/config/experimental"
|
|
@filter={{@controller.filter}}
|
|
@adminSettingsFilterChangedCallback={{@controller.adminSettingsFilterChangedCallback}}
|
|
/>
|
|
</div>
|
|
</template>);
|