Removed unnecessary outer link-tos from admin/settings|watched-words navs

This commit is contained in:
minusfive 2017-08-30 11:00:00 -04:00 committed by Robin Ward
parent b210c801a4
commit 8781c6bfcb
2 changed files with 4 additions and 4 deletions
app/assets/javascripts/admin/templates

View File

@ -15,14 +15,14 @@
<div class="admin-nav pull-left">
<ul class="nav nav-stacked">
{{#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}}
{{category.name}}
{{#if filtered}}
{{#if category.count}}<span class="count">({{category.count}})</span>{{/if}}
{{/if}}
{{/link-to}}
{{/link-to}}
</li>
{{/each}}
</ul>
</div>

View File

@ -14,12 +14,12 @@
<div class="admin-nav pull-left">
<ul class="nav nav-stacked">
{{#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}}
{{action.name}}
{{#if action.count}}<span class="count">({{action.count}})</span>{{/if}}
{{/link-to}}
{{/link-to}}
</li>
{{/each}}
</ul>
</div>