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:
Suraj Shetty 2022-07-11 15:27:43 +05:30
parent 802a1ac993
commit bae2db278d

View file

@ -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"];
}
}
};