diff options
author | moisseev <moiseev@mezonplus.ru> | 2020-08-07 20:17:01 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2020-08-07 20:17:01 +0300 |
commit | 1d4e94c70d96920dfc189d123ee680c08533e95f (patch) | |
tree | 2c2e0b9b9de2ddeb82e4e07fee7be89050102c2d /interface | |
parent | 587c5215b6bab63f073fc202dcfe44fa3b84d725 (diff) | |
download | rspamd-1d4e94c70d96920dfc189d123ee680c08533e95f.tar.gz rspamd-1d4e94c70d96920dfc189d123ee680c08533e95f.zip |
[WebUI] Add "rewrite subject" to Status tab widgets
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/app/stats.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/interface/js/app/stats.js b/interface/js/app/stats.js index 18c3a2c08..539116983 100644 --- a/interface/js/app/stats.js +++ b/interface/js/app/stats.js @@ -68,7 +68,7 @@ define(["jquery", "d3pie"], var stat_w = []; $.each(data, function (i, item) { - var widgetsOrder = ["scanned", "no action", "greylist", "add header", "reject", "learned"]; + var widgetsOrder = ["scanned", "no action", "greylist", "add header", "rewrite subject", "reject", "learned"]; function widget(k, v) { var titleAtt = d3.format(",")(v) + " " + k; @@ -160,6 +160,11 @@ define(["jquery", "d3pie"], data: data["add header"], value: data["add header"] }, { + color: "#FF6600", + label: "rewrite subject", + data: data["rewrite subject"], + value: data["rewrite subject"] + }, { color: "#436EEE", label: "greylist", data: data.greylist, @@ -186,6 +191,7 @@ define(["jquery", "d3pie"], actions: { "no action": 0, "add header": 0, + "rewrite subject": 0, "greylist": 0, "reject": 0, "soft reject": 0, |