cubicweb/sobjects/notification.py
changeset 11913 4516c3956d46
parent 11767 432f87a63057
child 12043 b8d2e6b9f548
equal deleted inserted replaced
11912:c9e6df20e5a4 11913:4516c3956d46
   185             if val and isinstance(val, text_type) and val.strip():
   185             if val and isinstance(val, text_type) and val.strip():
   186                kwargs[key] = self._cw._(val)
   186                kwargs[key] = self._cw._(val)
   187         kwargs.update({'user': self.user_data['login'],
   187         kwargs.update({'user': self.user_data['login'],
   188                        'eid': entity.eid,
   188                        'eid': entity.eid,
   189                        'etype': entity.dc_type(),
   189                        'etype': entity.dc_type(),
   190                        'url': entity.absolute_url(__secure__=True),
   190                        'url': entity.absolute_url(),
   191                        'title': entity.dc_long_title(),})
   191                        'title': entity.dc_long_title(),})
   192         return kwargs
   192         return kwargs
   193 
   193 
   194 
   194 
   195 class StatusChangeMixIn(object):
   195 class StatusChangeMixIn(object):