sobjects/notification.py
changeset 8897 11f7ccd2fa72
parent 8190 2a3c1b787688
child 8931 4b195bd82e8b
equal deleted inserted replaced
8896:3e414a53e794 8897:11f7ccd2fa72
   193 
   193 
   194     def subject(self):
   194     def subject(self):
   195         entity = self.cw_rset.get_entity(self.cw_row or 0, self.cw_col or 0)
   195         entity = self.cw_rset.get_entity(self.cw_row or 0, self.cw_col or 0)
   196         return  u'%s #%s (%s)' % (self._cw.__('Updated %s' % entity.e_schema),
   196         return  u'%s #%s (%s)' % (self._cw.__('Updated %s' % entity.e_schema),
   197                                   entity.eid, self.user_data['login'])
   197                                   entity.eid, self.user_data['login'])
   198 
       
   199 
       
   200 from cubicweb.hooks.notification import RenderAndSendNotificationView
       
   201 from cubicweb.mail import parse_message_id
       
   202 
       
   203 NormalizedTextView = class_renamed('NormalizedTextView', ContentAddedView)
       
   204 RenderAndSendNotificationView = class_moved(RenderAndSendNotificationView)
       
   205 parse_message_id = deprecated('parse_message_id is now defined in cubicweb.mail')(parse_message_id)
       
   206