equal
deleted
inserted
replaced
1 """html view for workflow related entities |
|
2 |
|
3 :organization: Logilab |
|
4 :copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
|
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
|
6 """ |
|
7 __docformat__ = "restructuredtext en" |
|
8 |
|
9 from cubicweb.common.view import EntityView |
|
10 |
|
11 class CellView(EntityView): |
|
12 id = 'cell' |
|
13 accepts = ('TrInfo',) |
|
14 def cell_call(self, row, col, cellvid=None): |
|
15 entity = self.entity(row, col) |
|
16 self.w(entity.printable_value('comment')) |
|