[pmg-devel] [PATCH pmg-gui] use correct size unit in deferred queue listing

Stoiko Ivanov s.ivanov at proxmox.com
Mon Jan 20 11:46:04 CET 2020


The listing of the contents of the deferred queue gets its data via
postqueue (1) json output, which lists the size in bytes.
Change the column header to say 'Bytes' instead of 'Kbytes'.

Tested by sending a mail, which gets deferred and comparing the output with
the size of the file on disk in '/var/spool/postfix/deferred'

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
Reported via german PMG forum:
https://forum.proxmox.com/threads/spalten%C3%BCberschrift-kbytes-m%C3%BCssten-bytes-sein.63703/

 js/PostfixMailQueue.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/PostfixMailQueue.js b/js/PostfixMailQueue.js
index 101a43b..550ce3b 100644
--- a/js/PostfixMailQueue.js
+++ b/js/PostfixMailQueue.js
@@ -146,7 +146,7 @@ Ext.define('PMG.Postfix.MailQueue', {
 	    dataIndex: 'arrival_time'
 	},
 	{
-	    header: 'KByte',
+	    header: 'Bytes',
 	    width: 80,
 	    dataIndex: 'message_size'
 	},
-- 
2.20.1




More information about the pmg-devel mailing list