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

38 lines
1.4 KiB
Handlebars
Raw Normal View History

2013-02-06 03:16:51 +08:00
<div class="container">
{{global-notice}}
2013-02-06 03:16:51 +08:00
<div class="row">
<div class="full-width">
2013-02-06 03:16:51 +08:00
<ul class="nav nav-pills">
2013-09-17 02:08:55 +08:00
<li>{{#link-to 'admin.dashboard'}}{{i18n admin.dashboard.title}}{{/link-to}}</li>
{{#if currentUser.admin}}
2013-11-14 03:02:47 +08:00
<li>{{#link-to 'adminSiteSettings'}}{{i18n admin.site_settings.title}}{{/link-to}}</li>
{{/if}}
2013-09-17 02:08:55 +08:00
<li>{{#link-to 'adminUsersList'}}{{i18n admin.users.title}}{{/link-to}}</li>
{{#if showBadges}}
<li>{{#link-to 'admin.badges'}}{{i18n admin.badges.title}}{{/link-to}}</li>
{{/if}}
2013-07-27 06:58:40 +08:00
{{#if currentUser.admin}}
<li>{{#link-to 'adminGroups.index'}}{{i18n admin.groups.title}}{{/link-to}}</li>
2013-07-27 06:58:40 +08:00
{{/if}}
2013-09-17 02:08:55 +08:00
<li>{{#link-to 'adminEmail'}}{{i18n admin.email.title}}{{/link-to}}</li>
<li>{{#link-to 'adminFlags'}}{{i18n admin.flags.title}}{{/link-to}}</li>
<li>{{#link-to 'adminLogs'}}{{i18n admin.logs.title}}{{/link-to}}</li>
{{#if currentUser.admin}}
<li>{{#link-to 'adminCustomize.colors'}}{{i18n admin.customize.title}}{{/link-to}}</li>
2013-09-17 02:08:55 +08:00
<li>{{#link-to 'admin.api'}}{{i18n admin.api.title}}{{/link-to}}</li>
2014-02-13 12:35:46 +08:00
<li>{{#link-to 'admin.backups'}}{{i18n admin.backups.title}}{{/link-to}}</li>
{{/if}}
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>