mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
725e00442d
fixes #3031 - Adds an initializer for passing config to the frontend, it's not pretty but it works - Forwards the apps route and hides the apps menu item if apps:true is not present in config.js
29 lines
892 B
Handlebars
29 lines
892 B
Handlebars
<div class="wrapper">
|
|
<aside class="settings-sidebar" role="complementary">
|
|
<header>
|
|
<h1 class="title">Settings</h1>
|
|
</header>
|
|
<nav class="settings-menu">
|
|
<ul>
|
|
{{#view "item-view" tagName="li" class="general"}}
|
|
{{#link-to "settings.general"}}General{{/link-to}}
|
|
{{/view}}
|
|
|
|
{{#view "item-view" tagName="li" class="users"}}
|
|
{{#link-to "settings.user"}}User{{/link-to}}
|
|
{{/view}}
|
|
|
|
{{#if showApps}}
|
|
{{#view "item-view" tagName="li" class="apps"}}
|
|
{{#link-to "settings.apps"}}Apps{{/link-to}}
|
|
{{/view}}
|
|
{{/if}}
|
|
</ul>
|
|
</nav>
|
|
</aside>
|
|
|
|
<section class="settings-content active">
|
|
{{outlet}}
|
|
</section>
|
|
</div>
|