From: moisseev Date: Fri, 7 Aug 2020 17:17:01 +0000 (+0300) Subject: [WebUI] Add "rewrite subject" to Status tab widgets X-Git-Tag: 2.6~164^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1d4e94c70d96920dfc189d123ee680c08533e95f;p=rspamd.git [WebUI] Add "rewrite subject" to Status tab widgets --- 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,