app/soc/views/models/notification.py
changeset 2161 3b5e0e0880cd
parent 2076 1cd180cc56c9
child 2164 94e498e3dd44
equal deleted inserted replaced
2160:3f9dd37d98a8 2161:3b5e0e0880cd
   193       if entity.scope.key() == user.key():
   193       if entity.scope.key() == user.key():
   194         # mark the entity as read
   194         # mark the entity as read
   195         self._logic.updateEntityProperties(entity, {'unread' : False} )
   195         self._logic.updateEntityProperties(entity, {'unread' : False} )
   196 
   196 
   197     context['entity_type_url'] = self._params['url_name']
   197     context['entity_type_url'] = self._params['url_name']
   198     context['entity_suffix'] = self._logic.getKeySuffix(entity)
   198     context['entity_suffix'] = entity.key().id_or_name()
   199 
   199 
   200     return True
   200     return True
   201 
   201 
   202 
   202 
   203 view = View()
   203 view = View()