Ghost/core/client/templates/settings.hbs
Maurice Williams ad9997e995 Removing old "user settings" screen and putting in new MU "users settings" screen and updating functional test cases.
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
2014-07-05 11:33:03 -04:00

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>