mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 10:36:19 +08:00
e68ecf1f1d
* UX: Add link to Groups in admin dashboard. * UX: Site settings have immediate effect.
47 lines
1.6 KiB
Handlebars
47 lines
1.6 KiB
Handlebars
{{#admin-wrapper class="container"}}
|
|
<div class="row">
|
|
<div class="full-width">
|
|
<div class="admin-main-nav">
|
|
|
|
<ul class="nav nav-pills">
|
|
|
|
{{nav-item route='admin.dashboardNext' label='admin.dashboard.title'}}
|
|
{{#if currentUser.admin}}
|
|
{{nav-item route='adminSiteSettings' label='admin.site_settings.title'}}
|
|
{{/if}}
|
|
{{nav-item route='adminUsersList' label='admin.users.title'}}
|
|
{{#if showGroups}}
|
|
{{nav-item route='groups' label='admin.groups.title'}}
|
|
{{/if}}
|
|
{{#if showBadges}}
|
|
{{nav-item route='adminBadges' label='admin.badges.title'}}
|
|
{{/if}}
|
|
{{#if currentUser.admin}}
|
|
{{nav-item route='adminEmail' label='admin.email.title'}}
|
|
{{/if}}
|
|
{{nav-item route='adminFlags' label='admin.flags.title'}}
|
|
{{nav-item route='adminLogs' label='admin.logs.title'}}
|
|
{{#if currentUser.admin}}
|
|
{{nav-item route='adminCustomize' label='admin.customize.title'}}
|
|
{{nav-item route='adminApi' label='admin.api.title'}}
|
|
{{#if siteSettings.enable_backups}}
|
|
{{nav-item route='admin.backups' label='admin.backups.title'}}
|
|
{{/if}}
|
|
{{/if}}
|
|
{{nav-item route='adminPlugins' label='admin.plugins.title'}}
|
|
{{plugin-outlet name="admin-menu" connectorTagName="" tagName=""}}
|
|
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
<div class='boxed white admin-content'>
|
|
<div class='admin-contents {{adminContentsClassName}}'>
|
|
{{outlet}}
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
{{/admin-wrapper}}
|