mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
51ed2868f7
Fixes #3078 - new "users" resource, with matching controller and template - fetching real data from /ghost/api/v0.1/users/ - updated "user" route to accept a :slug as a URL parameter - updated labels everywhere (from "user" to "users") - updated "profile" link to header to point to proper "users/:slug" route - updated core/client/.jshintrc to recognize moment as a valid global function - adjusted DOM selector used in Casper to properly identify the new screen - adding "slug" as a new property of the user data used during the Casper functional tests
27 lines
749 B
Handlebars
27 lines
749 B
Handlebars
<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.users"}}Users{{/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>
|