app/soc/logic/helper/notifications.py
changeset 1561 fe1b141bfc2c
parent 1560 656aace0b15f
child 1563 1d3db748990a
--- 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