discourse/app/assets/javascripts/admin/addon/templates/config-customize-theme-site-settings.gjs
Martin Brennan 62f6ee0b1f
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
FEATURE: Move theme site settings config page to a tab in the customize page (#34376)
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.
2025-08-20 12:03:47 +10:00

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>
);