mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
edfa74f349
closes #4534 - Adds new Labs route - Wires route in settings page - Move and rename debug templates and logic to labs - Redirect /debug to settings/labs
30 lines
1.3 KiB
Handlebars
30 lines
1.3 KiB
Handlebars
<header class="page-header">
|
|
<button class="menu-button js-menu-button" {{action "toggleGlobalMobileNav"}}><span class="sr-only">Menu</span></button>
|
|
<h2 class="page-title">Settings</h2>
|
|
</header>
|
|
|
|
<div class="page-content">
|
|
<nav class="settings-nav js-settings-menu">
|
|
<ul>
|
|
{{#unless session.user.isAuthor}}
|
|
{{#unless session.user.isEditor}}
|
|
{{gh-activating-list-item route="settings.general" title="General" classNames="settings-nav-general icon-settings"}}
|
|
{{/unless}}
|
|
|
|
{{! Whilst tag management is still in development only show tags button if there if tagsUI is true in config.js --}}
|
|
{{#if showTags}}
|
|
{{gh-activating-list-item route="settings.tags" title="Tags" classNames="settings-nav-tags icon-tag"}}
|
|
{{/if}}
|
|
|
|
{{gh-activating-list-item route="settings.users" title="Users" classNames="settings-nav-users icon-users"}}
|
|
|
|
{{gh-activating-list-item route="settings.labs" title="Labs" classNames="settings-nav-labs icon-atom"}}
|
|
{{/unless}}
|
|
|
|
{{gh-activating-list-item route="settings.about" title="About" classNames="settings-nav-about icon-pacman"}}
|
|
</ul>
|
|
</nav>
|
|
|
|
{{outlet}}
|
|
</div>
|