discourse/app/assets/javascripts/admin/templates/admin.hbs

38 lines
1.3 KiB
Handlebars
Raw Normal View History

2013-02-06 03:16:51 +08:00
<div class="container">
<div class="row">
<div class="full-width">
2013-02-06 03:16:51 +08:00
<ul class="nav nav-pills">
2015-07-11 20:09:12 +08:00
{{nav-item route='admin.dashboard' label='admin.dashboard.title'}}
{{#if currentUser.admin}}
2015-07-11 20:09:12 +08:00
{{nav-item route='adminSiteSettings' label='admin.site_settings.title'}}
{{/if}}
{{nav-item route='adminUsersList' label='admin.users.title'}}
{{#if showBadges}}
{{nav-item route='adminBadges' label='admin.badges.title'}}
{{/if}}
2013-07-27 06:58:40 +08:00
{{#if currentUser.admin}}
2015-07-11 20:09:12 +08:00
{{nav-item route='adminGroups' label='admin.groups.title'}}
{{nav-item route='adminEmail' label='admin.email.title'}}
2013-07-27 06:58:40 +08:00
{{/if}}
2015-07-11 20:09:12 +08:00
{{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'}}
2015-07-11 20:09:12 +08:00
{{nav-item route='admin.backups' label='admin.backups.title'}}
{{/if}}
2015-07-11 20:09:12 +08:00
{{nav-item route='adminPlugins' label='admin.plugins.title'}}
{{plugin-outlet "admin-menu" tagName="li"}}
2013-02-06 03:16:51 +08:00
</ul>
<div class='boxed white admin-content'>
<div class='admin-contents'>
{{outlet}}
</div>
</div>
</div>
</div>
</div>