mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 03:24:33 +08:00
FEATURE: custom flag can require additional message (#27908)
Allow admin to create custom flag which requires an additional message. I decided to rename the old `custom_flag` into `require_message` as it is more descriptive.
This commit is contained in:

committed by
GitHub

parent
58b7dde599
commit
c975c7fe1b
@ -351,7 +351,7 @@
|
||||
"is_flag": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_custom_flag": {
|
||||
"require_message": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"enabled": {
|
||||
@ -371,7 +371,7 @@
|
||||
"description",
|
||||
"short_description",
|
||||
"is_flag",
|
||||
"is_custom_flag",
|
||||
"require_message",
|
||||
"enabled",
|
||||
"applies_to",
|
||||
"is_used"
|
||||
@ -403,7 +403,7 @@
|
||||
"is_flag": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_custom_flag": {
|
||||
"require_message": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"enabled": {
|
||||
@ -423,7 +423,7 @@
|
||||
"description",
|
||||
"short_description",
|
||||
"is_flag",
|
||||
"is_custom_flag",
|
||||
"require_message",
|
||||
"enabled",
|
||||
"applies_to",
|
||||
"is_used"
|
||||
|
Reference in New Issue
Block a user