2
0
Fork 0
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:
Joffrey JAFFEUX 2018-01-24 17:41:26 +01:00 committed by GitHub
parent 262f795a4b
commit 1fd3b5cc4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View file

@ -1,8 +1,11 @@
{{#if category}}
{{#if hasParentCategory}}
<div class="category-status">
{{badgeForParentCategory}} {{badgeForCategory}}
<span class="topic-count">&times; {{topicCount}}</span>
{{#unless hideParentCategory}}
{{badgeForParentCategory}}
{{/unless}}
{{badgeForCategory}}
<span class="topic-count">{{topicCount}}</span>
</div>
{{else}}
<div class="category-status">