mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 12:23:45 +08:00
Show new sub-category styling in hamburger menu too
This commit is contained in:
parent
e7ceb58cf4
commit
497a03fc2c
|
@ -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) {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user