Add CSS targets to nav pills

This commit is contained in:
Joshua Rosenfeld 2017-09-15 10:54:10 -04:00 committed by GitHub
parent d9714c21c8
commit 38057be0c1
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
{{#mobile-nav class='group-nav' desktopClass="nav nav-pills" currentPath=application.currentPath}} {{#mobile-nav class='group-nav' desktopClass="nav nav-pills" currentPath=application.currentPath}}
{{#each getTabs as |tab|}} {{#each getTabs as |tab|}}
<li> <li>
{{#link-to tab.location model title=tab.message}} {{#link-to tab.location model title=tab.message class=tab.name}}
{{#if tab.icon}}{{d-icon tab.icon}}{{/if}} {{#if tab.icon}}{{d-icon tab.icon}}{{/if}}
{{tab.message}} {{tab.message}}
{{#if tab.count}}<span class='count'>({{tab.count}})</span>{{/if}} {{#if tab.count}}<span class='count'>({{tab.count}})</span>{{/if}}