Browse Source

format notification

pull/117/head
Ivan Yelizariev 10 years ago
committed by Ildar Nasyrov
parent
commit
89f8d3596d
No known key found for this signature in database GPG Key ID: D1FDACDF9B83578
  1. 4
      im_notif/im_notif_models.py

4
im_notif/im_notif_models.py

@ -83,8 +83,8 @@ class mail_notification(models.Model):
im_text = [ 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') im_text = im_text + body.split('\n')
return im_text return im_text

Loading…
Cancel
Save