mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 00:47:46 -06:00
FIX: improvements for the admin sidebar (#26168)
- add all settings link - hide the customize header menu when the admin sidebar
This commit is contained in:
parent
ea5c3a3bdc
commit
e12d32a876
@ -1,3 +1,4 @@
|
||||
{{#unless this.currentUser.use_admin_sidebar}}
|
||||
<AdminNav>
|
||||
{{#if this.currentUser.admin}}
|
||||
<NavItem
|
||||
@ -59,6 +60,7 @@
|
||||
class="admin-customize-watched-words"
|
||||
/>
|
||||
</AdminNav>
|
||||
{{/unless}}
|
||||
|
||||
<div class="admin-container">
|
||||
{{outlet}}
|
||||
|
@ -378,6 +378,12 @@ export const ADMIN_NAV_MAP = [
|
||||
label: "admin.advanced.sidebar_link.experimental",
|
||||
icon: "discourse-sparkles",
|
||||
},
|
||||
{
|
||||
name: "admin_all_site_settings",
|
||||
route: "adminSiteSettings",
|
||||
label: "admin.advanced.sidebar_link.all_site_settings",
|
||||
icon: "cog",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
@ -5328,6 +5328,7 @@ en:
|
||||
other_options: "Other"
|
||||
search: "Search"
|
||||
experimental: "Experimental"
|
||||
all_site_settings: "All Site Settings"
|
||||
|
||||
navigation_menu:
|
||||
sidebar: "Sidebar"
|
||||
|
Loading…
Reference in New Issue
Block a user