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
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">&times; {{topicCount}}</span>
{{#unless hideParentCategory}}
{{badgeForParentCategory}}
{{/unless}}
{{badgeForCategory}}
<span class="topic-count">{{topicCount}}</span>
</div>
{{else}}
<div class="category-status">