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"> <div class="site-settings-nav pull-left">
<ul class="nav nav-stacked"> <ul class="nav nav-stacked">
{{#each category in controller}} {{#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}} {{#link-to 'adminSiteSettingsCategory' category.nameKey class=category.nameKey}}
{{category.name}} {{category.name}}
{{#if filtered}} {{#if filtered}}
<span class="count">({{category.siteSettings.length}})</span> <span class="count">({{category.siteSettings.length}})</span>
{{/if}} {{/if}}
{{/link-to}} {{/link-to}}
</li> {{/link-to}}
{{/each}} {{/each}}
</ul> </ul>
</div> </div>