Add priority to notification rules

This commit is contained in:
2023-01-12 07:20:48 +00:00
parent e01aea7712
commit 0b840d227b
4 changed files with 30 additions and 1 deletions

View File

@@ -88,11 +88,13 @@ class NotificationRuleForm(RestrictedFormMixin, ModelForm):
model = NotificationRule
fields = (
"name",
"priority",
"enabled",
"data",
)
help_texts = {
"name": "The name of the rule.",
"priority": "The priority of the rule.",
"enabled": "Whether the rule is enabled.",
"data": "The notification rule definition.",
}