Skip to content

Commit

Permalink
feat: #9559, set order help text
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed May 18, 2021
1 parent ca7c77b commit f5847f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/language/en-GB/admin/manage/categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"analytics": "Analytics",
"view-category": "View category",
"set-order": "Set order",
"set-order-help": "Setting the order of the category will move this category to that order and update the order of other categories as necessary. Minimum order is 1 which puts the category at the top.",

"select-category": "Select Category",
"set-parent-category": "Set Parent Category",
Expand Down
2 changes: 1 addition & 1 deletion public/src/admin/manage/categories.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ define('admin/manage/categories', [
var order = $(this).attr('data-order');
var modal = bootbox.dialog({
title: '[[admin/manage/categories:set-order]]',
message: '<input class="form-control input-lg" value=' + order + ' />',
message: '<input type="number" min="1" class="form-control input-lg" value=' + order + ' /><p class="help-block">[[admin/manage/categories:set-order-help]]</p>',
show: true,
buttons: {
save: {
Expand Down

0 comments on commit f5847f4

Please sign in to comment.