allow uncategorized category in 2 more spots (hamburger and drop down)

This commit is contained in:
Sam 2013-10-28 08:39:55 +11:00
parent c77a20eea5
commit 88ccd287b4
2 changed files with 3 additions and 5 deletions

View File

@ -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}}

View File

@ -144,7 +144,7 @@
{{#each categories}}
<li class='category'>
{{categoryLink this}}
{{categoryLink this allowUncategorized=true}}
<b>{{unbound topic_count}}</b></a>
</li>
{{/each}}