app/soc/views/models/notification.py
changeset 2748 7fbc98f3adde
parent 2361 40b0c25a5793
--- a/app/soc/views/models/notification.py	Mon Aug 10 16:35:01 2009 -0700
+++ b/app/soc/views/models/notification.py	Mon Aug 10 16:58:51 2009 -0700
@@ -188,7 +188,7 @@
     if entity.unread:
       # get the current user
       user = user_logic.getForCurrentAccount()
-      
+
       # if the message is meant for the user that is reading it
       # pylint: disable-msg=E1103
       if entity.scope.key() == user.key():
@@ -197,6 +197,7 @@
 
     context['entity_type_url'] = self._params['url_name']
     context['entity_suffix'] = entity.key().id_or_name() if entity else None
+    context['page_name'] = 'Notification - %s' %(entity.subject)
 
     return True