diff --git a/app/assets/javascripts/discourse/templates/modal/reorder-categories.hbs b/app/assets/javascripts/discourse/templates/modal/reorder-categories.hbs index 67b4456a234..9b8c114078e 100644 --- a/app/assets/javascripts/discourse/templates/modal/reorder-categories.hbs +++ b/app/assets/javascripts/discourse/templates/modal/reorder-categories.hbs @@ -2,16 +2,19 @@
{{i18n "categories.reorder.position"}} | {{i18n "categories.category"}} | +{{i18n "categories.reorder.position"}} | {{#each categoriesOrdered as |cat|}}
---|---|---|
- {{#if cat.parent_category_id}}
-
- {{/if}}
+
+ {{category-badge cat allowUncategorized="true"}}
+
+ |
+
+ {{number-field number=(readonly cat.position) change=(action 'change' cat)}} {{d-button class="btn-default no-text" action=(action "moveUp") actionParam=cat icon="arrow-up"}} {{d-button class="btn-default no-text" action=(action "moveDown") actionParam=cat icon="arrow-down"}} @@ -19,7 +22,6 @@ {{d-button class="no-text ok" action=(action "commit") icon="check"}} {{/if}} | -{{category-badge cat allowUncategorized="true"}} |