add sys_title as prefix to notification e-mails

This commit is contained in:
Tobi Schäfer 2007-01-26 10:52:13 +00:00
parent 63ec8ab8e2
commit 9075fbd7eb

View file

@ -238,7 +238,7 @@ function sendNotification(type, obj) {
url: obj.href() url: obj.href()
}; };
var sender = root.sys_title + "<" + root.sys_email + ">"; var sender = root.sys_title + "<" + root.sys_email + ">";
var subject = getMessage("mail.notification"); var subject = "[ + root.sys_title + "] " + getMessage("mail.notification");
var body = this.renderSkinAsString("notificationMail", param); var body = this.renderSkinAsString("notificationMail", param);
sendMail(sender, recipients, subject, body); sendMail(sender, recipients, subject, body);
} }