Tweak HTML to include active class on the li on the site settings

route
This commit is contained in:
Robin Ward 2014-11-14 11:10:34 -05:00
parent c74225b5a6
commit cb25d0c0fb

View file

@ -14,14 +14,14 @@
<div class="site-settings-nav pull-left">
<ul class="nav nav-stacked">
{{#each category in controller}}
<li {{bind-attr class="category.nameKey"}}>
{{#link-to 'adminSiteSettingsCategory' category.nameKey tagName='li' class=category.nameKey}}
{{#link-to 'adminSiteSettingsCategory' category.nameKey class=category.nameKey}}
{{category.name}}
{{#if filtered}}
<span class="count">({{category.siteSettings.length}})</span>
{{/if}}
{{/link-to}}
</li>
{{/link-to}}
{{/each}}
</ul>
</div>