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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
1.6 KiB
Handlebars
Raw Normal View History

<AdminWrapper @class="container">
2013-02-05 14:16:51 -05:00
<div class="row">
2019-04-01 06:39:49 -04:00
<div class="full-width">
2018-07-02 23:14:53 -04:00
<div class="admin-main-nav">
2013-02-05 14:16:51 -05:00
<ul class="nav nav-pills">
<NavItem @route="admin.dashboard" @label="admin.dashboard.title" />
{{#if this.currentUser.admin}}
<NavItem @route="adminSiteSettings" @label="admin.site_settings.title" />
{{/if}}
<NavItem @route="adminUsers" @label="admin.users.title" />
{{#if this.showGroups}}
<NavItem @route="groups" @label="admin.groups.title" />
{{/if}}
{{#if this.showBadges}}
<NavItem @route="adminBadges" @label="admin.badges.title" />
{{/if}}
{{#if this.currentUser.admin}}
<NavItem @route="adminEmail" @label="admin.email.title" />
{{/if}}
<NavItem @route="adminLogs" @label="admin.logs.title" />
<NavItem @route="adminCustomize" @label="admin.customize.title" />
{{#if this.currentUser.admin}}
<NavItem @route="adminApi" @label="admin.api.title" />
{{#if this.siteSettings.enable_backups}}
<NavItem @route="admin.backups" @label="admin.backups.title" />
{{/if}}
{{/if}}
<NavItem @route="adminPlugins" @label="admin.plugins.title" />
<PluginOutlet @name="admin-menu" />
2013-02-05 14:16:51 -05:00
</ul>
2018-07-02 23:14:53 -04:00
</div>
2013-02-05 14:16:51 -05:00
<div class="boxed white admin-content">
<div class="admin-contents {{this.adminContentsClassName}}">
2013-02-05 14:16:51 -05:00
{{outlet}}
</div>
</div>
</div>
</div>
</AdminWrapper>