commit 1d4e94c: [WebUI] Add "rewrite subject" to Status tab widgets

moisseev moiseev at mezonplus.ru
Fri Aug 7 19:28:06 UTC 2020


Author: moisseev
Date: 2020-08-07 20:17:01 +0300
URL: https://github.com/rspamd/rspamd/commit/1d4e94c70d96920dfc189d123ee680c08533e95f

[WebUI] Add "rewrite subject" to Status tab widgets

---
 interface/js/app/stats.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

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;
@@ -159,6 +159,11 @@ define(["jquery", "d3pie"],
                 label: "add header",
                 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",
@@ -186,6 +191,7 @@ define(["jquery", "d3pie"],
                             actions: {
                                 "no action": 0,
                                 "add header": 0,
+                                "rewrite subject": 0,
                                 "greylist": 0,
                                 "reject": 0,
                                 "soft reject": 0,


More information about the Commits mailing list