From a59fee59a3d16b1d2de91db07bbcb74c50dd4832 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