FIX: subcategories need the num featured topics setting too
This commit is contained in:
parent
7431c30c1f
commit
797313a28d
|
@ -75,14 +75,16 @@
|
|||
{{plugin-outlet name="category-email-in" args=(hash category=category)}}
|
||||
{{/if}}
|
||||
|
||||
{{#unless category.parent_category_id}}
|
||||
<section class="field num-featured-topics-fields">
|
||||
<label>
|
||||
<section class="field num-featured-topics-fields">
|
||||
<label>
|
||||
{{#if category.parent_category_id}}
|
||||
{{i18n "category.subcategory_num_featured_topics"}}
|
||||
{{else}}
|
||||
{{i18n "category.num_featured_topics"}}
|
||||
{{text-field value=category.num_featured_topics}}
|
||||
</label>
|
||||
</section>
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
{{text-field value=category.num_featured_topics}}
|
||||
</label>
|
||||
</section>
|
||||
|
||||
{{#if showPositionInput}}
|
||||
<section class='field position-fields'>
|
||||
|
|
|
@ -1971,6 +1971,7 @@ en:
|
|||
suppress_from_homepage: "Suppress this category from the homepage."
|
||||
show_subcategory_list: "Show subcategory list above topics in this category."
|
||||
num_featured_topics: "Number of topics shown on the categories page:"
|
||||
subcategory_num_featured_topics: "Number of featured topics on parent category's page:"
|
||||
all_topics_wiki: "Make new topics wikis by default."
|
||||
sort_order: "Default Sort:"
|
||||
allow_badges_label: "Allow badges to be awarded in this category"
|
||||
|
|
Loading…
Reference in New Issue