Show new sub-category styling in hamburger menu too

This commit is contained in:
Neil Lalonde 2014-03-25 15:29:34 -04:00
parent e7ceb58cf4
commit 497a03fc2c
2 changed files with 2 additions and 1 deletions

View File

@ -68,6 +68,7 @@ Discourse.HTML = {
@param {Discourse.Category} category the category whose link we want
@param {Object} opts The options for the category link
@param {Boolean} opts.allowUncategorized Whether we allow rendering of the uncategorized category
@param {Boolean} opts.showParent Whether to visually show whether category is a sub-category
@returns {String} the html category badge
**/
categoryLink: function(category, opts) {

View File

@ -1,4 +1,4 @@
{{categoryLink this allowUncategorized=true}}
{{categoryLink this allowUncategorized=true showParent=true}}
{{#if showBadges}}
{{#if unreadTopics}}
<a href={{unbound unreadUrl}} class='badge unread-posts badge-notification' title='{{i18n topic.unread_topics count="unreadTopics"}}'>{{unreadTopics}}</a>