mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 17:26:29 +08:00
c27c87911e
Set the global_notice site setting to notify users of a critical event.
39 lines
1.5 KiB
Handlebars
39 lines
1.5 KiB
Handlebars
<div class="container">
|
|
{{Discourse.globalNotice}}
|
|
<div class="row">
|
|
<div class="full-width">
|
|
|
|
<ul class="nav nav-pills">
|
|
<li>{{#link-to 'admin.dashboard'}}{{i18n admin.dashboard.title}}{{/link-to}}</li>
|
|
{{#if currentUser.admin}}
|
|
<li>{{#link-to 'adminSiteSettings'}}{{i18n admin.site_settings.title}}{{/link-to}}</li>
|
|
<li>{{#link-to 'adminSiteContents'}}{{i18n admin.site_content.title}}{{/link-to}}</li>
|
|
{{/if}}
|
|
<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}}
|
|
{{#if currentUser.admin}}
|
|
<li>{{#link-to 'admin.groups'}}{{i18n admin.groups.title}}{{/link-to}}</li>
|
|
{{/if}}
|
|
<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 'admin.customize'}}{{i18n admin.customize.title}}{{/link-to}}</li>
|
|
<li>{{#link-to 'admin.api'}}{{i18n admin.api.title}}{{/link-to}}</li>
|
|
<li>{{#link-to 'admin.backups'}}{{i18n admin.backups.title}}{{/link-to}}</li>
|
|
{{/if}}
|
|
</ul>
|
|
|
|
<div class='boxed white admin-content'>
|
|
<div class='admin-contents'>
|
|
{{outlet}}
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|