Merge pull request #2804 from novaugust/ember-settings-currently-active-pane

Add active class to settings tabs
This commit is contained in:
Hannah Wolfe 2014-05-25 16:03:25 +03:00
commit 2ae78c05d9

View File

@ -5,9 +5,17 @@
</header>
<nav class="settings-menu">
<ul>
<li class="general">{{#link-to 'settings.general'}}General{{/link-to}}</li>
<li class="users">{{#link-to 'settings.user'}}User{{/link-to}}</li>
<li class="apps">{{#link-to 'settings.apps'}}Apps{{/link-to}}</li>
{{#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}}
{{#view "item-view" tagName="li" class="apps"}}
{{#link-to "settings.apps"}}Apps{{/link-to}}
{{/view}}
</ul>
</nav>
</aside>