diff --git a/app/assets/javascripts/admin/addon/components/admin-site-settings-filter-controls.gjs b/app/assets/javascripts/admin/addon/components/admin-site-settings-filter-controls.gjs index 39818db2413..73d837d9555 100644 --- a/app/assets/javascripts/admin/addon/components/admin-site-settings-filter-controls.gjs +++ b/app/assets/javascripts/admin/addon/components/admin-site-settings-filter-controls.gjs @@ -6,7 +6,6 @@ import { action } from "@ember/object"; import didInsert from "@ember/render-modifiers/modifiers/did-insert"; import didUpdate from "@ember/render-modifiers/modifiers/did-update"; import DButton from "discourse/components/d-button"; -import autoFocus from "discourse/modifiers/auto-focus"; import { i18n } from "discourse-i18n"; export default class AdminSiteSettingsFilterControls extends Component { @@ -72,7 +71,6 @@ export default class AdminSiteSettingsFilterControls extends Component { {{/if}} {{/each}} {{#if this.category.hasMore}} - {{#if this.currentUser.use_admin_sidebar}} -

{{i18n - "admin.site_settings.more_site_setting_results_no_category_sidebar" - count=this.category.maxResults - }}

- {{else}} -

{{i18n - "admin.site_settings.more_site_setting_results" - count=this.category.maxResults - }}

- {{/if}} +

{{i18n + "admin.site_settings.more_site_setting_results" + count=this.category.maxResults + }}

{{/if}} {{else}} diff --git a/app/assets/javascripts/admin/addon/templates/site-settings.hbs b/app/assets/javascripts/admin/addon/templates/site-settings.hbs index e7da32e1c77..4b4b33d6b45 100644 --- a/app/assets/javascripts/admin/addon/templates/site-settings.hbs +++ b/app/assets/javascripts/admin/addon/templates/site-settings.hbs @@ -19,39 +19,32 @@ @onToggleMenu={{this.toggleMenu}} /> -{{#if this.showSettingCategorySidebar}} -
-
-{{/if}} + {{category.name}} + {{#if category.count}} + ({{category.count}}) + {{/if}} + + + {{/each}} + + -
+
{{outlet}}
diff --git a/app/assets/stylesheets/common/admin/site-settings.scss b/app/assets/stylesheets/common/admin/site-settings.scss index 121302471af..82683559988 100644 --- a/app/assets/stylesheets/common/admin/site-settings.scss +++ b/app/assets/stylesheets/common/admin/site-settings.scss @@ -19,10 +19,3 @@ } } } - -.admin-site-settings { - .admin-detail.-without-inner-sidebar { - border-left: 0; - width: 100%; - } -} diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index cd03168a0a6..bdead0ea318 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -7250,9 +7250,6 @@ en: more_site_setting_results: one: "There is more than %{count} result. Please refine your search or select a category." other: "There are more than %{count} results. Please refine your search or select a category." - more_site_setting_results_no_category_sidebar: - one: "There is more than %{count} result. Please refine your search." - other: "There are more than %{count} results. Please refine your search." clear_filter: "Clear" add_url: "add URL" add_host: "add host"