equal
deleted
inserted
replaced
73 self.w(u'</foaf:Person>\n') |
73 self.w(u'</foaf:Person>\n') |
74 |
74 |
75 class CWGroupInContextView(EntityView): |
75 class CWGroupInContextView(EntityView): |
76 __regid__ = 'incontext' |
76 __regid__ = 'incontext' |
77 __select__ = implements('CWGroup') |
77 __select__ = implements('CWGroup') |
|
78 |
78 def cell_call(self, row, col): |
79 def cell_call(self, row, col): |
79 self._cw.add_css('cubicweb.acl.css') |
|
80 entity = self.cw_rset.complete_entity(row, col) |
80 entity = self.cw_rset.complete_entity(row, col) |
81 self.w(u'<a href="%s" class="%s">%s</a>' % ( |
81 self.w(u'<a href="%s" class="%s">%s</a>' % ( |
82 entity.absolute_url(), entity.name, entity.printable_value('name'))) |
82 entity.absolute_url(), entity.name, entity.printable_value('name'))) |