Removed unnecessary outer link-tos from admin/settings|watched-words navs
This commit is contained in:
parent
b210c801a4
commit
8781c6bfcb
|
@ -15,14 +15,14 @@
|
||||||
<div class="admin-nav pull-left">
|
<div class="admin-nav pull-left">
|
||||||
<ul class="nav nav-stacked">
|
<ul class="nav nav-stacked">
|
||||||
{{#each model as |category|}}
|
{{#each model as |category|}}
|
||||||
{{#link-to 'adminSiteSettingsCategory' category.nameKey tagName='li' class=category.nameKey}}
|
<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}}
|
||||||
{{#if category.count}}<span class="count">({{category.count}})</span>{{/if}}
|
{{#if category.count}}<span class="count">({{category.count}})</span>{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
{{/link-to}}
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -14,12 +14,12 @@
|
||||||
<div class="admin-nav pull-left">
|
<div class="admin-nav pull-left">
|
||||||
<ul class="nav nav-stacked">
|
<ul class="nav nav-stacked">
|
||||||
{{#each model as |action|}}
|
{{#each model as |action|}}
|
||||||
{{#link-to 'adminWatchedWords.action' action.nameKey tagName='li' class=action.nameKey}}
|
<li class="{{action.nameKey}}">
|
||||||
{{#link-to 'adminWatchedWords.action' action.nameKey}}
|
{{#link-to 'adminWatchedWords.action' action.nameKey}}
|
||||||
{{action.name}}
|
{{action.name}}
|
||||||
{{#if action.count}}<span class="count">({{action.count}})</span>{{/if}}
|
{{#if action.count}}<span class="count">({{action.count}})</span>{{/if}}
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
{{/link-to}}
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue