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">
+1 -1
View File
@@ -520,7 +520,7 @@ en:
categories:
all: "all categories"
all_subcategories: "all"
all_subcategories: "all in %{categoryName}"
no_subcategory: "none"
category: "Category"
category_list: "Display category list"
+1 -1
View File
@@ -460,7 +460,7 @@ fr:
'14': "En attente"
categories:
all: "toutes les catégories"
all_subcategories: "toutes"
all_subcategories: "toutes dans %{categoryName}"
no_subcategory: "aucune"
category: "Catégorie"
category_list: "Afficher la liste des catégories"