sobjects/notification.py
branch3.5
changeset 3110 757d36162235
parent 3051 2e28226e7de4
child 3163 edfe43ceaa35
child 3525 2dc3908f667f
equal deleted inserted replaced
3103:1d09765ee720 3110:757d36162235
   188         return super(ContentAddedView, self).context(content=content, **kwargs)
   188         return super(ContentAddedView, self).context(content=content, **kwargs)
   189 
   189 
   190     def subject(self):
   190     def subject(self):
   191         entity = self.entity(self.row or 0, self.col or 0)
   191         entity = self.entity(self.row or 0, self.col or 0)
   192         return  u'%s #%s (%s)' % (self.req.__('New %s' % entity.e_schema),
   192         return  u'%s #%s (%s)' % (self.req.__('New %s' % entity.e_schema),
   193                                   entity.eid, self.user_login())
   193                                   entity.eid, self.user_data['login'])
   194 
   194 
   195 NormalizedTextView = class_renamed('NormalizedTextView', ContentAddedView)
   195 NormalizedTextView = class_renamed('NormalizedTextView', ContentAddedView)