From 89f8d3596dedcb286856849cfe62ccd81be27cef Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Fri, 16 Jan 2015 12:36:49 +0200 Subject: [PATCH] format notification --- im_notif/im_notif_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/im_notif/im_notif_models.py b/im_notif/im_notif_models.py index ca95bdd..c2cfa8e 100644 --- a/im_notif/im_notif_models.py +++ b/im_notif/im_notif_models.py @@ -83,8 +83,8 @@ class mail_notification(models.Model): im_text = [ '_____________________', '_____________________', - '%s FROM %s' % (message.type, author), - 'ABOUT %s: %s' % (message.record_name or '', url) + '%s [FROM] %s' % (message.type, author), + '[ABOUT] %s: %s' % (message.record_name or '', url) ] im_text = im_text + body.split('\n') return im_text