small msg changes

This commit is contained in:
Harry Bomrah 2016-07-26 14:36:28 +08:00
parent 0a7cac8ee3
commit 3b131fe6eb
1 changed files with 3 additions and 3 deletions

View File

@ -31,11 +31,11 @@ class EmailEntry
status = ""
t = self.email_sentdate.nil? ? self.created_at : self.email_sentdate
if self.approved && t < Time.now
status = "Sent"
status = "Delivered"
elsif !self.approved
status = "Waiting for approval"
elsif self.approved && t > Time.now
status = "Mail ready to be send"
status = "Scheduled for delivery"
elsif self.approved && t == Time.now
status = "Sending"
end