web/views/cwuser.py
changeset 5234 e2476d78b060
parent 5224 34e669b6fd95
child 5235 3a92e6d92a64
equal deleted inserted replaced
5233:673b63953e7a 5234:e2476d78b060
    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')))