taskapp/utilities/notification.py
changeset 144 581ad20b8c39
parent 142 bd65e2c9a7b4
child 145 0c97a02b9bdb
--- a/taskapp/utilities/notification.py	Sun Feb 28 14:44:10 2010 +0530
+++ b/taskapp/utilities/notification.py	Sun Feb 28 14:58:11 2010 +0530
@@ -63,7 +63,7 @@
             notification.message += "He can be contacted on %s"%new_mentor.email
 
         else:
-            notification.sub = "Rejected request to act as a mentor for %s"%task.title[:20]
+            notification.sub = "%s rejected request to act as a mentor"%new_mentor.username
             notification.message = "%s has rejected your request asking him to act as a mentor for %s.<br />"%(new_mentor_url, task_url)
             if remarks:
                 notification.message += "Remarks: %s<br />"%remarks