mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 12:23:45 +08:00
FIX: moderators should not have a link to site settings
This commit is contained in:
parent
ded23cc9c5
commit
ca97b325fd
|
@ -32,7 +32,9 @@
|
|||
{{/d-link}}
|
||||
</li>
|
||||
{{/if}}
|
||||
<li>{{d-link route="adminSiteSettings" icon="gear" label="admin.site_settings.title"}}</li>
|
||||
{{#if currentUser.admin}}
|
||||
<li>{{d-link route="adminSiteSettings" icon="gear" label="admin.site_settings.title"}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{plugin-outlet "hamburger-admin"}}
|
||||
{{/menu-links}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user