discourse/app/assets/javascripts/admin/templates/admin.js.handlebars

34 lines
1.3 KiB
Handlebars
Raw Normal View History

2013-02-05 14:16:51 -05:00
<div class="container">
<div class="row">
<div class="full-width">
2013-02-05 14:16:51 -05:00
<ul class="nav nav-pills">
2013-09-16 14:08:55 -04:00
<li>{{#link-to 'admin.dashboard'}}{{i18n admin.dashboard.title}}{{/link-to}}</li>
{{#if currentUser.admin}}
2013-11-13 14:02:47 -05:00
<li>{{#link-to 'adminSiteSettings'}}{{i18n admin.site_settings.title}}{{/link-to}}</li>
2013-09-16 14:08:55 -04:00
<li>{{#link-to 'adminSiteContents'}}{{i18n admin.site_content.title}}{{/link-to}}</li>
{{/if}}
2013-09-16 14:08:55 -04:00
<li>{{#link-to 'adminUsersList'}}{{i18n admin.users.title}}{{/link-to}}</li>
2013-07-26 18:58:40 -04:00
{{#if currentUser.admin}}
2013-09-16 14:08:55 -04:00
<li>{{#link-to 'admin.groups'}}{{i18n admin.groups.title}}{{/link-to}}</li>
2013-07-26 18:58:40 -04:00
{{/if}}
2013-09-16 14:08:55 -04: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}}
2013-09-16 14:08:55 -04:00
<li>{{#link-to 'admin.customize'}}{{i18n admin.customize.title}}{{/link-to}}</li>
<li>{{#link-to 'admin.api'}}{{i18n admin.api.title}}{{/link-to}}</li>
{{/if}}
2013-02-05 14:16:51 -05:00
</ul>
<div class='boxed white admin-content'>
<div class='admin-contents'>
{{outlet}}
</div>
</div>
</div>
</div>
</div>