From 92d4711385ac3647096bcd7a08029d1d7cfda03f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 20 Mar 2017 13:55:37 +0000 Subject: [WebUI] Add sender, recipients and subject columns --- interface/js/app/history.js | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) (limited to 'interface/js') diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 8756a5f5a..e5981e1d6 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -98,6 +98,7 @@ function($, _, Humanize) { "value": scan_time } item.id = item['message-id']; + item.rcpt_mime = item.rcpt_mime.join(","); items.push(item); }); @@ -151,6 +152,33 @@ function($, _, Humanize) { "width": 150, "maxWidth": 150 } + }, { + "name": "sender_mime", + "title": "From", + "breakpoints": "xs sm", + "style": { + "font-size": "11px", + "width": 150, + "maxWidth": 150 + } + }, { + "name": "rcpt_mime", + "title": "To", + "breakpoints": "xs sm", + "style": { + "font-size": "11px", + "width": 150, + "maxWidth": 150 + } + }, { + "name": "subject", + "title": "Subject", + "breakpoints": "xs sm", + "style": { + "font-size": "11px", + "width": 150, + "maxWidth": 150 + } }, { "name": "action", "title": "Action", @@ -182,8 +210,8 @@ function($, _, Humanize) { "breakpoints": "xs sm", "style": { "font-size": "11px", - "width": 120, - "maxWidth": 120 + "width": 90, + "maxWidth": 110 }, "formatter": Humanize.compactInteger }, { @@ -210,8 +238,8 @@ function($, _, Humanize) { "breakpoints": "xs sm", "style": { "font-size": "11px", - "width": 200, - "maxWidth": 200 + "width": 100, + "maxWidth": 150 } }]; } -- cgit v1.2.3