Browse Source

format notification

pull/117/head
Ivan Yelizariev 10 years ago
committed by Ildar Nasyrov
parent
commit
2cc9758eb6
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

@ -89,10 +89,10 @@ class mail_notification(models.Model):
if url: if url:
about = '<a href="%s">%s</a>' % (url, about) about = '<a href="%s">%s</a>' % (url, about)
im_text = [ im_text = [
'%s [FROM] %s' % (message.type, author),
about,
'_____________________', '_____________________',
'<a href="%s">_____[open_inbox]_____</a>' % inbox_url, '<a href="%s">_____[open_inbox]_____</a>' % inbox_url,
'%s [FROM] %s' % (message.type, author),
about,
] ]
#im_text = im_text + body.split('\n') #im_text = im_text + body.split('\n')
return im_text return im_text

Loading…
Cancel
Save