mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: improvements to category-drop when used with a subcategory
This commit is contained in:
parent
262f795a4b
commit
1fd3b5cc4f
3 changed files with 7 additions and 4 deletions
|
@ -1,8 +1,11 @@
|
|||
{{#if category}}
|
||||
{{#if hasParentCategory}}
|
||||
<div class="category-status">
|
||||
{{badgeForParentCategory}} {{badgeForCategory}}
|
||||
<span class="topic-count">× {{topicCount}}</span>
|
||||
{{#unless hideParentCategory}}
|
||||
{{badgeForParentCategory}}
|
||||
{{/unless}}
|
||||
{{badgeForCategory}}
|
||||
<span class="topic-count">{{topicCount}}</span>
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="category-status">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue