mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-17 05:21:36 +03:00
47ae9d6ca6
Implements #3294. Currently, we don’t have a permission system on the client side, so this relies on a hardcoded “author” string.
25 lines
820 B
Handlebars
25 lines
820 B
Handlebars
<aside class="settings-sidebar" role="complementary">
|
|
<header>
|
|
<h1 class="title">Settings</h1>
|
|
</header>
|
|
<nav class="settings-menu">
|
|
<ul>
|
|
{{#unless session.user.isAuthor}}
|
|
{{#unless session.user.isEditor}}
|
|
{{gh-activating-list-item route="settings.general" title="General" classNames="general"}}
|
|
{{/unless}}
|
|
|
|
{{gh-activating-list-item route="settings.users" title="Users" classNames="users"}}
|
|
|
|
{{#if showApps}}
|
|
{{#unless session.user.isEditor}}
|
|
{{gh-activating-list-item route="settings.apps" title="Apps" classNames="apps"}}
|
|
{{/unless}}
|
|
{{/if}}
|
|
{{/unless}}
|
|
</ul>
|
|
</nav>
|
|
</aside>
|
|
|
|
{{outlet}}
|