allow ordering categories in the edit category ui
This commit is contained in:
@@ -57,7 +57,8 @@ Discourse.Category = Discourse.Model.extend({
|
||||
hotness: this.get('hotness'),
|
||||
secure: this.get('secure'),
|
||||
permissions: this.get('permissionsForUpdate'),
|
||||
auto_close_days: this.get('auto_close_days')
|
||||
auto_close_days: this.get('auto_close_days'),
|
||||
position: this.get('position')
|
||||
},
|
||||
type: this.get('id') ? 'PUT' : 'POST'
|
||||
});
|
||||
|
||||
@@ -86,6 +86,11 @@
|
||||
{{autoCloseForm autoCloseDays=auto_close_days labelKey="category.auto_close_label"}}
|
||||
</section>
|
||||
|
||||
<section class='field'>
|
||||
<label>{{i18n category.position}}</label>
|
||||
{{textField value=position}}
|
||||
</section>
|
||||
|
||||
<section class='field'>
|
||||
<label>{{i18n category.hotness}}</label>
|
||||
{{view Discourse.HotnessView hotnessBinding="hotness"}}
|
||||
|
||||
Reference in New Issue
Block a user