FIX: subcategories need the num featured topics setting too

This commit is contained in:
Neil Lalonde
2017-03-02 11:31:28 -05:00
parent 7431c30c1f
commit 797313a28d
2 changed files with 10 additions and 7 deletions

View File

@@ -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'>