diff -r 656aace0b15f -r fe1b141bfc2c app/soc/logic/helper/notifications.py --- a/app/soc/logic/helper/notifications.py Sat Feb 28 14:28:28 2009 +0000 +++ b/app/soc/logic/helper/notifications.py Sat Feb 28 14:29:23 2009 +0000 @@ -178,6 +178,8 @@ model_view.notification.view.getParams())} sender = mail_dispatcher.getDefaultMailSender() + site_entity = site_logic.logic.getSingleton() + site_name = site_entity.site_name # get the default mail sender default_sender = mail_dispatcher.getDefaultMailSender() @@ -196,6 +198,7 @@ 'sender_name': sender_name, 'to': to, 'sender': sender, + 'site_name': site_name, 'subject': force_unicode(DEF_NEW_NOTIFICATION_MSG), 'notification' : notification_entity, 'notification_url' : notification_url