diff -r 000000000000 -r b97547f5f1fa web/views/wfentities.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/views/wfentities.py Wed Nov 05 15:52:50 2008 +0100 @@ -0,0 +1,16 @@ +"""html view for workflow related entities + +:organization: Logilab +:copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. +:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr +""" +__docformat__ = "restructuredtext en" + +from cubicweb.common.view import EntityView + +class CellView(EntityView): + id = 'cell' + accepts = ('TrInfo',) + def cell_call(self, row, col, cellvid=None): + entity = self.entity(row, col) + self.w(entity.printable_value('comment'))