fix: Update status color
Because both "Not Sent" & "Not Saved" had same indicator color and it was hard to distinguish
This commit is contained in:
parent
802a1ac993
commit
bae2db278d
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@ frappe.listview_settings['Newsletter'] = {
|
|||
if (doc.email_sent) {
|
||||
return [__("Sent"), "green", "email_sent,=,Yes"];
|
||||
} else if (doc.schedule_sending) {
|
||||
return [__("Scheduled"), "orange", "email_sent,=,No|schedule_sending,=,Yes"];
|
||||
return [__("Scheduled"), "purple", "email_sent,=,No|schedule_sending,=,Yes"];
|
||||
} else {
|
||||
return [__("Not Sent"), "orange", "email_sent,=,No"];
|
||||
return [__("Not Sent"), "gray", "email_sent,=,No"];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue