Add help texts to AssetRule

master
Mark Veidemanis 1 year ago
parent 74fdd8a735
commit 7a593b902b
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -351,3 +351,13 @@ class AssetRuleForm(RestrictedFormMixin, ModelForm):
"trigger_below",
"trigger_above",
)
help_texts = {
"asset": "The asset to apply the rule to.",
"aggregation": "Aggregation of the callback",
"value": "Value of the aggregation",
"original_status": "The original status of the asset.",
"status": "The status of the asset, following rules configured on the Asset Group.",
"trigger_below": "Trigger Bearish when value is below this.",
"trigger_above": "Trigger Bullish when value is above this.",
}

Loading…
Cancel
Save