equal
deleted
inserted
replaced
40 def url(self): |
40 def url(self): |
41 login = self.rset.get_entity(self.row or 0, self.col or 0).login |
41 login = self.rset.get_entity(self.row or 0, self.col or 0).login |
42 return self.build_url('cwuser/%s'%login, vid='epropertiesform') |
42 return self.build_url('cwuser/%s'%login, vid='epropertiesform') |
43 |
43 |
44 |
44 |
45 class CWUserPrimaryView(primary.PrimaryView): |
|
46 __select__ = implements('CWUser') |
|
47 |
|
48 def content_title(self, entity): |
|
49 return entity.name() |
|
50 |
|
51 |
|
52 class FoafView(EntityView): |
45 class FoafView(EntityView): |
53 id = 'foaf' |
46 id = 'foaf' |
54 __select__ = implements('CWUser') |
47 __select__ = implements('CWUser') |
55 |
48 |
56 title = _('foaf') |
49 title = _('foaf') |