mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Tweak HTML to include active class on the li
on the site settings
route
This commit is contained in:
parent
c74225b5a6
commit
cb25d0c0fb
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue