app/soc/logic/helper/notifications.py
changeset 2378 b5c74f077f0a
parent 2360 e389d26949db
child 2671 2eaacbbdb168
--- a/app/soc/logic/helper/notifications.py	Mon Jun 01 23:42:36 2009 +0200
+++ b/app/soc/logic/helper/notifications.py	Thu Jun 04 08:12:57 2009 +0200
@@ -272,13 +272,14 @@
   messageProperties = {
       'to_name': user_entity.name,
       'sender_name': sender_name,
-      'site_name': site_name,
       'to': to,
       'sender': sender,
       'subject': DEF_WELCOME_MSG_FMT % {
           'site_name': site_name,
           'name': user_entity.name
-          }
+          },
+      'site_name': site_name,
+      'site_location': 'http://%s' % os.environ['HTTP_HOST'],
       }
 
   # send out the message using the default welcome template