Allow overriding topic
This commit is contained in:
@@ -88,13 +88,15 @@ class NotificationRuleForm(RestrictedFormMixin, ModelForm):
|
||||
model = NotificationRule
|
||||
fields = (
|
||||
"name",
|
||||
"priority",
|
||||
"enabled",
|
||||
"data",
|
||||
"priority",
|
||||
"topic",
|
||||
"enabled",
|
||||
)
|
||||
help_texts = {
|
||||
"name": "The name of the rule.",
|
||||
"priority": "The priority of the rule.",
|
||||
"topic": "The topic to send notifications to. Leave blank for default.",
|
||||
"enabled": "Whether the rule is enabled.",
|
||||
"data": "The notification rule definition.",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user