mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-24 18:43:51 +08:00
Some checks failed
Licenses / run (push) Has been cancelled
Linting / run (push) Has been cancelled
Migration Tests / Tests (push) Has been cancelled
Publish Assets / publish-assets (push) Has been cancelled
Tests / core backend (push) Has been cancelled
Tests / plugins backend (push) Has been cancelled
Tests / core frontend (Chrome) (push) Has been cancelled
Tests / plugins frontend (push) Has been cancelled
Tests / themes frontend (push) Has been cancelled
Tests / core system (push) Has been cancelled
Tests / plugins system (push) Has been cancelled
Tests / themes system (push) Has been cancelled
Tests / core frontend (Firefox ESR) (push) Has been cancelled
Tests / core frontend (Firefox Evergreen) (push) Has been cancelled
Tests / chat system (push) Has been cancelled
Tests / merge (push) Has been cancelled
This commit moves the /admin/config/theme-site-settings page to a tab in the "Themes and components" config page. This will make it easier to find for admins. Also add a `AdminFilterControls` component to the page to filter by setting name, description, or theme name.
27 lines
842 B
Text
Vendored
27 lines
842 B
Text
Vendored
import RouteTemplate from "ember-route-template";
|
|
import DBreadcrumbsItem from "discourse/components/d-breadcrumbs-item";
|
|
import DPageSubheader from "discourse/components/d-page-subheader";
|
|
import { i18n } from "discourse-i18n";
|
|
import ThemeSiteSettings from "admin/components/theme-site-settings";
|
|
|
|
export default RouteTemplate(
|
|
<template>
|
|
<DBreadcrumbsItem
|
|
@path="/admin/config/customize/theme-site-settings"
|
|
@label={{i18n
|
|
"admin.config_areas.themes_and_components.theme_site_settings.title"
|
|
}}
|
|
/>
|
|
|
|
<DPageSubheader
|
|
@titleLabel={{i18n
|
|
"admin.config_areas.themes_and_components.theme_site_settings.title"
|
|
}}
|
|
@descriptionLabel={{i18n
|
|
"admin.config_areas.themes_and_components.theme_site_settings.description"
|
|
}}
|
|
/>
|
|
|
|
<ThemeSiteSettings />
|
|
</template>
|
|
);
|