diff --git a/frappe/email/doctype/bulk_email/bulk_email_list.js b/frappe/email/doctype/bulk_email/bulk_email_list.js new file mode 100644 index 0000000000..f6abd19701 --- /dev/null +++ b/frappe/email/doctype/bulk_email/bulk_email_list.js @@ -0,0 +1,6 @@ +frappe.listview_settings['Bulk Email'] = { + get_indicator: function(doc) { + colour = {'Sent': 'green', 'Sending': 'blue', 'Not Sent': 'grey', 'Error': 'red', 'Expired': 'orange'}; + return [__(doc.status), colour[doc.status], "status,=," + doc.status]; + } +}