Move user scripts gui config to admin, cleanup

This commit is contained in:
emanuele-f 2020-01-03 15:16:46 +01:00
parent d037f9a9a4
commit ad9c386bb3
44 changed files with 241 additions and 289 deletions

View file

@ -69,8 +69,7 @@ script = {
i18n_title = "entity_thresholds.request_reply_ratio_title",
i18n_description = "entity_thresholds.request_reply_ratio_description",
i18n_field_unit = user_scripts.field_units.percentage,
input_builder = user_scripts.threshold_cross_input_builder,
post_handler = user_scripts.threshold_cross_post_handler,
input_builder = "threshold_cross",
field_max = 100,
field_min = 1,
field_operator = "lt";