allow uncategorized category in 2 more spots (hamburger and drop down)
This commit is contained in:
parent
c77a20eea5
commit
88ccd287b4
|
@ -1,5 +1,5 @@
|
|||
{{#if category}}
|
||||
{{boundCategoryLink category}}
|
||||
{{boundCategoryLink category allowUncategorized=true}}
|
||||
{{else}}
|
||||
<a href='/' class='badge-category home' {{bindAttr style="badgeStyle"}}><i class='icon icon-home'></i></a>
|
||||
{{/if}}
|
||||
|
@ -7,8 +7,6 @@
|
|||
{{#if categories}}
|
||||
<a href='#' {{action expand}} class='badge-category category-dropdown-button' {{bindAttr style="badgeStyle"}}><i {{bindAttr class="iconClass"}}></i></a>
|
||||
<section {{bindAttr class="expanded::hidden :category-dropdown-menu"}} class='chooser'>
|
||||
{{#each categories}}
|
||||
<div class='cat'>{{categoryLink this}}</div>
|
||||
{{/each}}
|
||||
{{#each categories}}<div class='cat'>{{categoryLink this allowUncategorized=true}}</div>{{/each}}
|
||||
</section>
|
||||
{{/if}}
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
|
||||
{{#each categories}}
|
||||
<li class='category'>
|
||||
{{categoryLink this}}
|
||||
{{categoryLink this allowUncategorized=true}}
|
||||
<b>{{unbound topic_count}}</b></a>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
|
Loading…
Reference in New Issue