mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-08-14 16:14:18 +00:00
MailTracker.js: improve status text
This commit is contained in:
parent
f4e78b4a02
commit
d42f76fc8d
@ -345,7 +345,9 @@ Ext.define('PMG.MailTracker', {
|
|||||||
if (v !== undefined && v !== '') {
|
if (v !== undefined && v !== '') {
|
||||||
var vtext = PMG.Utils.mail_status_map[v] || v;
|
var vtext = PMG.Utils.mail_status_map[v] || v;
|
||||||
icon = v;
|
icon = v;
|
||||||
if (rstatus !== undefined && rstatus !== '') {
|
if (v === 'Q' || v === 'B') {
|
||||||
|
returntext = vtext;
|
||||||
|
} else if (rstatus !== undefined && rstatus !== '') {
|
||||||
var rtext = PMG.Utils.mail_status_map[rstatus] || rstatus;
|
var rtext = PMG.Utils.mail_status_map[rstatus] || rstatus;
|
||||||
returntext = vtext + '/' + rtext;
|
returntext = vtext + '/' + rtext;
|
||||||
icon = rstatus;
|
icon = rstatus;
|
||||||
|
Loading…
Reference in New Issue
Block a user